Click here to Skip to main content
15,897,519 members

Comments by Tiberiu I. (Top 3 by date)

Tiberiu I. 22-Jun-12 12:12pm View    
I cannot set the resolution again because HorisontalResolution and VerticalResolution are readonly properties.

But I think I just found the answer to my problem here http://www.codeproject.com/Articles/4861/An-Image-Viewer-with-Lossless-Rotation-EXIF-and-Ot
Tiberiu I. 22-Jun-12 11:04am View    
Thanks for links, but they are not very helpful because they use the Image object of VB.NET which means a bitmap file. I'd like to work directly on jpeg files somehow.
Tiberiu I. 22-Jun-12 11:03am View    
Thanks for your answer.
1)I rotate it 90 degrees
2, 3)I studied my files and the difference is the resolution, because after I rotate it its resolution becomes much bigger. But I don't know how to change that to a bitmap because it's HorizontalResolution and VerticalResolution are ReadOnly properties.

I have to work on jpeg, because almost all photos are jpeg and not bitmaps.