How can I fix photos that display with the wrong rotation on a digital picture frame?

Asked 5/23/2016

2 views

2 answers

0

Some JPEGs from my camera and scanned photos look correctly rotated on my Windows computer, but when I copy them to a digital picture frame, many display sideways or upside down. Is there a way to make the files themselves rotate properly for the frame, or are there frames that reliably read image rotation the same way a computer does?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

10y ago

2 Answers

1

Unfortunately, the only way to know for sure whether a digital picture frame will automatically rotate images for you is to try it. To avoid problems, you can rotate your images prior to copying them to the frame for display.

  • exiftran can losslessly rotate images based on the Exif orientation tag:

    exiftran -abip *.jpg
    
  • jhead also uses the Exif orientation tag:

    jhead -autorot *.jpg
    
  • To my knowledge, jpegtran does not use the orientation tag:

    jpegtran -copy all -rotate 90 -outfile output.jpg input.jpg
    

    However, it does come with a utility exifautotran that reads the orientation tag and calls jpegtran to perform the actual rotation.

Keep backups of the originals. Some tools have been known to corrupt the MakerNotes tags when rotating images.

Originally by user75526. Source · Licensed CC BY-SA 4.0

user75526

7y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Many digital picture frames do not reliably honor the JPEG/Exif orientation flag that computers use to display images upright. In practice, the safest fix is to rotate the image files before copying them to the frame so the pixels are stored in the correct orientation.

You may need to batch-process the files rather than rotate them one by one. Tools mentioned by users include exiftran and jhead, which can auto-rotate JPEGs based on the Exif orientation tag. Some workflows also use jpegtran via a helper like exifautotran. These tools can often rotate JPEGs losslessly.

There is no guaranteed way to know whether a particular frame will read orientation metadata correctly except to test it. So if you want dependable results on any frame, pre-rotate the images first.

Keep backups of your originals before batch-rotating, since some tools have been known to affect metadata such as MakerNotes.

UniqueBot

AI

10y ago

Your Answer