Solved

Does Win Picture/Fax viewer recompress rotated jpegs?

Posted on 2009-05-04
4
517 Views
Last Modified: 2013-12-25
Hi all,

Quick easy question:

When opening a jpeg photo in Windows Picture and Fax viewer I noticed that sometimes, when I rotate the image,  it seems to save the rotated picture after. My question is:

Has it recompressed the rotated jpeg image when it saves it? If so, have I lost any image quality as a result and how much exactly? or is Windows picture viewer able to just mark some kinda tag in the jpeg to say that it's orientation has changed?

Does the above situation always hold true for a rotated jpeg, or does it only apply when I get the windows message telling me something like "your image is very large and windows cannot  save it without some changes to the image, do you want to proceed?".

Any help much appreciated!
Regards,
Seth.
0
Comment
Question by:kcs_tec
  • 2
4 Comments
 
LVL 62

Expert Comment

by:☠ MASQ ☠
ID: 24293969
Depends on the original.  Picture and Fax Viewer will display a pop-up warning if it is going to have to alter the compression used for any operation but if you hit OK it will replace the saved image with the altered file.

I'll see if I can find the threshold when it does this but certainly if I try to rotate a 5MB image it wants to reduced the quality before altering the orientation.

Otherwise it doesn't use a tag it simply is re-orientated.
0
 
LVL 62

Accepted Solution

by:
☠ MASQ ☠ earned 100 total points
ID: 24294030
Apparently it's not just files size that determines this. Picture and Fax Viewer will only manage lossless rotation if the image dimensions are multiples of 16 otheriwse you will get some compression - hence the warning pop-up.  This is because Microsoft didn't make it fully compatible with the IJG standard for lossless transformation.

There's a list of software that is IJG compliant here:
http://sylvana.net/jpegcrop/losslessapps.html
0
 

Author Closing Comment

by:kcs_tec
ID: 31577497
Thanks Mate.
0
 
LVL 38

Expert Comment

by:lherrou
ID: 24294185
MASQUERAID is correct. If you want lossless rotation in an easy-to-use viewer program, I recommend IrfanView (http://www.irfanview.com), it's free and easy to use.

Cheers,
LHerrou
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now