I need to modify the vertical and horizontal resolutions without changing the image dimensions.
A:
If all you have is GDI, have a look at this link.
You can save the Bitmap to a JPEG file using this snippet:
bmp.Save("picture.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
Skurmedel
2009-05-01 16:54:28
The question was about changing the resolution WITHOUT resizing. The article is all about resizing.
Mark Ransom
2009-05-01 16:58:15
Okay, hehe. Guess I'm blind today.
Skurmedel
2009-05-01 16:59:47
On the other hand, with some modification he could use some of the stuff in the article to do it.
Skurmedel
2009-05-01 17:00:40
A:
The resolution is contained in EXIF tags within the JPEG file.
Here's one article that gives source code for doing similar things in C#:
Mark Ransom
2009-05-01 16:56:03