Hi,
Here is a very interesting issue,
Assume i have picturebox and loaded a image into picturebox, however
whenever i want to rotate image using:
'For example 90 degree
PictureBox1.Ima ge.RotateFlip(R otateFlipType.R otate90FlipX)
This rotation takes effect on picturebox after i minimize - remaximize
form OR after i drag form somewhere outside the screen the re-bring to
a visible location on the screen.
If i don't drag form somewhere outside the screen OR minimize then re-
bring to normal window position.
Is this a bug or how can i overcome this?
Thanks a lot! 3 3292
"kimiraikko nen" <ki************ *@gmail.comwrot e in message
news:70******** *************** ***********@e23 g2000prf.google groups.com...
Hi,
Here is a very interesting issue,
Assume i have picturebox and loaded a image into picturebox, however
whenever i want to rotate image using:
'For example 90 degree
PictureBox1.Ima ge.RotateFlip(R otateFlipType.R otate90FlipX)
This rotation takes effect on picturebox after i minimize - remaximize
form OR after i drag form somewhere outside the screen the re-bring to
a visible location on the screen.
If i don't drag form somewhere outside the screen OR minimize then re-
bring to normal window position.
Is this a bug or how can i overcome this?
Thanks a lot!
Have you tried a form Refresh() or picturebox Refresh() after the rotation?
Mike Ober.
On Dec 24, 11:25 pm, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
Hi,
Here is a very interesting issue,
Assume i have picturebox and loaded a image into picturebox, however
whenever i want to rotate image using:
'For example 90 degree
PictureBox1.Ima ge.RotateFlip(R otateFlipType.R otate90FlipX)
This rotation takes effect on picturebox after i minimize - remaximize
form OR after i drag form somewhere outside the screen the re-bring to
a visible location on the screen.
If i don't drag form somewhere outside the screen OR minimize then re-
bring to normal window position.
Is this a bug or how can i overcome this?
Thanks a lot!
However this a kind of indirect solution which corrects this but still
i want to know why i need to adjust visibility propery of picturebox.
PictureBox1.Ima ge.RotateFlip(R otateFlipType.R otate90FlipX)
PictureBox1.Vis ible = False
PictureBox1.Vis ible = True
Another issue, as i stated in a post with no reply, while dragging
picturebox the image and form gets a very slow performance and jittery
tearing effects occur on screen. There's no such problem on 3rd party
softwares like XnView using on same system.
Thanks.
On Dec 24, 11:30 pm, "Michael D. Ober" <obermd.@.alum. mit.edu.nospam. >
wrote:
"kimiraikko nen" <kimiraikkone.. .@gmail.comwrot e in message
news:70******** *************** ***********@e23 g2000prf.google groups.com...
Hi,
Here is a very interesting issue,
Assume i have picturebox and loaded a image into picturebox, however
whenever i want to rotate image using:
'For example 90 degree
PictureBox1.Ima ge.RotateFlip(R otateFlipType.R otate90FlipX)
This rotation takes effect on picturebox after i minimize - remaximize
form OR after i drag form somewhere outside the screen the re-bring to
a visible location on the screen.
If i don't drag form somewhere outside the screen OR minimize then re-
bring to normal window position.
Is this a bug or how can i overcome this?
Thanks a lot!
Have you tried a form Refresh() or picturebox Refresh() after the rotation?
Mike Ober.
Hi! Thank you, refresh function does it without needing to refresh
picturebox using visible property to false / true :-) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Deepa |
last post by:
Hi All,
I'm facing problem displaying image of size 5000X5000 .My window size
is smaller than image size so i'm not able to see the complete image.i
can use scroll bars to view the image but i need to rotate the image
and the see the result everytime.
For this my boss has given me suggestion to display only 20% of the
image on window ,and rotation has to be applied to original copy.
|
by: Andreas Viklund via DotNetMonster.com |
last post by:
Hi!
I am developing an application in ASP.NET that takes an image, that have
been created with a digital camera or camera phone, and processes it, to
get data from it. The image taken by the user will be of a square in some
kind of magazine or newpaper, with a white background and the border of the
square should be black.
What I am trying to do is to find the square, or the corners of the square,
in the image, using ASP.NET code. If the...
|
by: santel_helvis |
last post by:
Hi All,
Could anyone tell me how to rotate the image in javascript. Which
concepts I should concentrate to rotate the image
|
by: Gale |
last post by:
I wrote a simple script for image rotation.
now i need to have some transition effect betwean images in JS
What do you suggest ?
Thank you
|
by: Mark Szlazak |
last post by:
The following page simulates a pool cue and cue ball:
http://members.aol.com/myscript/cue.html
Mouse cursor position around the cue ball determines where a roll-over
of 179 pool cue images is placed around the ball and which one of those
images is displayed. Each pool cue image is in a slightly different
orientation and the correct one is chosen to match the orientation of
the cursor around the ball. Holding down the left mouse button...
| |
by: Ricardo Furtado |
last post by:
I'm trying, for a week or two, to create a procedure in order to rotate the
image in any picturebox control in a cephalometry software. I've found a web
site that shows how that can be done:
http://vb-helper.com/index_vbnet.html
but the problem is that the image doesn't stay at the top, instead, the
image is created upon another bitmap, even larger, and at its right corner.
I've already tryed to cut the right corner, with the right...
|
by: Dominic Vella |
last post by:
Hi, I know I seem to have the really complicated questions, but I guess
that's why I'm here. This is a little verbose, only because I've been
trying to crack this for a week now.
Your help would be appreciated.
I've been trying numerous ways to resize images, as I want to make store
thumbnails, not full images in my database.
-----------------------------------------------------------------------------
|
by: infoseekar |
last post by:
Image Resize & Rotation
Hi
I have 2 scripts, one for Image rotation and other image resize and they both are working.
Image resize scripts load the picture and resize it and Image rotation rotate the image by 90 deg. They are two differennt files i.e. resize.php and rotate.php.
What I want to do is to combine both rotate.php & resize.php files, so when the script resized the image than it will call rotate script to rotate the...
|
by: chvennela |
last post by:
Hi,
how to make complete rotation any image in html/css
<img src=C:\Users\Desktop\DSC00583.JPG" height=300 widht=200 style="image-rotation:90deg;">
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |