Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DrawImage()

Status
Not open for further replies.

sbayeta

Programmer
Apr 4, 2003
13
0
0
AR
Hi,

I'm using the Graphics.DrawImage() method to draw a picture. When I use a ScaleTransform to zoom in, the image is "smoothed" and it's not possible to see the individual pixels. This is not good for what I'm trying to do, and I already tried setting
Code:
            g.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.Low;
            g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.None;

but that doesn't change anything.

Does anyone know if it's possible to zoom in and see the pixels (like when you zoom in with Microsoft Paint)?

Thanks in advance.

Santiago.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top