2
If I wanted to rotate photos in XP using Windows Photo Viewer I was told, that it wasn't lossless rotation (so, worse quality in the rotated photo).
What about Win7 and Windows Photo Viewer? Is it lossless rotation of jpegs in Win7?
2
If I wanted to rotate photos in XP using Windows Photo Viewer I was told, that it wasn't lossless rotation (so, worse quality in the rotated photo).
What about Win7 and Windows Photo Viewer? Is it lossless rotation of jpegs in Win7?
0
After a brief experiment here with Windows 7 Pro 32bit - No it isn't lossless.
Use a dedicated image editing program (like GIMP) for almost (see comments below) lossless rotation/editing etc.
1
Short answer:
If the dimensions of the image are multiples of 8 (or 16 if chroma subsampling is used) then the rotations are lossless. Otherwise it is not possible to rotate the image without recomputing the blocks i.e. recompressing the image, which is lossy.
Full details:
See here for the rest of that great explanation about lossless JPEG rotation and Photo Viewer under Win 7.
I suggest you try Xnview as your image viewer, it has many interesting functions that I particularly like:
Make sure you comply with the licence because Xnview is not free for commercial use.
Thanks! Good explanation in the link you posted. And thank you for recommending Xnview. I use IrfanView to view and do basic manipulation on photos. Is Xnview open source? – SanSaurus – 2011-11-30T12:10:40.693
Sure, I highlighted that point in my answer above: "and is opensource," :) – Shadok – 2011-11-30T13:52:15.730
Heh, my question was related to your last bullet. On the website it says "freeware", but I don't think it's opensource?! – SanSaurus – 2011-12-05T15:01:16.993
My bad, it's not opensource at all. I just found out after many years using it :/ The licence is too restrictive for my tastes too, commercial use is not free. – Shadok – 2011-12-05T15:31:28.460
0
I suggest using the GUI-based Jpegcrop Windows program, or one of the many programs based on IJG jpegtran code (although not all of them support cropping).
(This answer was based on this other answer, and also on my answer on a Mac OS X Question.)
Thanks for the downvotes without offering alternatives! – HaydnWVN – 2014-11-07T12:09:24.597
Thanks for performing an experiment! :-) Good to know that it's lossy rotations. Where you warned, when rotating the photo?I personnaly use GIMP for photo-editing and IrfanView to view and rotate photos (lossless). I asked the question, because some family-members like to rotate photos using Windows Photo Viewer (which I from now on will recommend them NOT to do!) ;-) – SanSaurus – 2011-11-30T12:07:07.360
I use FastStone Image Viewer at home and it supports a lossless JPG rotate feature. I saw the comment saying you use IrfanView, it probably has the capability to do that as well.
– Melikoth – 2011-11-30T13:09:50.753Nope no warnings, not even an option of leaving the original alone and creating a new, rotated, updated file! – HaydnWVN – 2011-11-30T13:26:51.880
Could be funny to rotate a nice jpeg photo let say 1000 times using Windows Photo Viewer and then see the result! :-) Will it get worse for each rotation? – SanSaurus – 2011-12-05T15:02:39.923
Lol i'll let you do that and report back... Dread to think of the amount of temporary files created doing it! ;) – HaydnWVN – 2011-12-05T15:22:16.807
2AFAIK, Gimp does not support lossless rotation (for JPEG files). – Denilson Sá Maia – 2012-03-13T03:21:51.587
There's a 'Quality' slider when saving JPG's which allows you to change the default of 85 (i assume it's %) to 100 - which is close enough to being lossless in my experience. – HaydnWVN – 2012-03-13T08:44:46.557
-1 for gimp is not lossless rotation of jpegs. Even if you open and export without modification, you are lossy already. – akostadinov – 2013-12-09T21:12:51.803
I have amended my answer to explain, in my experience it's 'close enough' but all depending on your application and what you are using the images for will depend on how close this is. – HaydnWVN – 2013-12-11T14:47:21.010