How to improve the quality of the image when zoomed.
Thanks in advance...
You can't, that's a TV myth. Zooming in on a black pixel just makes a larger black pixel. There are no super algorithms that will make the zoom image show you more detail, as there is no more detail to show.
Sorry i not given much info..
I have loaded a image in a picture box and tries to zoom the image ans i have succeed on this.now how i improve the quality of the image when zoomed.
the below solved the problem..
//sz1 is the screen resolution of the primary system
bp = new Bitmap(sz1.Width/2, sz1.Height);
g = Graphics.FromImage(bp);
g.SmoothingMode = SmoothingMode.HighQuality;
g.InterpolationMode = InterpolationMode.HighQualityBicubic;
g.PixelOffsetMode = PixelOffsetMode.HighQuality;
rect = new Rectangle(0, 0, sz1.Width / 2, sz1.Height);
g.DrawImage(image, rect,0, 0, image.Width, image.Height, GraphicsUnit.Pixel);
pictureBox1.Width = rect.Width;
pictureBox1.Height = rect.Height;
Edited 7 Years Ago
by Nivass: n/a
Hi The must easy way is to use a picture which have a large size let say 900 X 500 or more depending on what you what to use it for.
Sorry for the lousy title, "InterProcess Communication" was too long
Basically, I'm looking to use the native _winapi and msvcrt modules to launch an integrated python interpreter and communicate with ...
I am building a atm machine but havent actually coding it as yet, just the gui interface part i have done so far because i am doing something ...
I recently inherited a project that has been in production for a number of years. They want a new field added. Easy peasy - or so you would ...