Images shown rotated correctly in Gimp but not Chromium or Firefox
I have a bunch of thumbnail images created from images taken with a digital camera, most are in landscape orientation but some are in portrait orientation. Since this spring, both Firefox and Chromium fail to show the portrait mode images correctly and instead smushes them into landscape mode thus with severe distortions.
Each thumbnail was created by convert from ImageMagick. The portrait mode images get rotated clockwise or counterclockwise: Code:
convert "$jpeg" -rotate -90 -resize x256 "t_$jpeg"; |
Hi
Pictures with rotation from the gravity sensors are confusing. Some respect the rotation, others ignore it. Jhead is a good tool for fixing it. Usually this fixes everything: jhead -autorot *.jpg From "man jhead": Quote:
|
There seems to be some confusion between physical rotation of the image (i.e. changing the jpg data) and exif rotation (just add a tag that says "rotated").
I suspect GIMP is more interested in the physical rotation. What I'd do: - remove exif info - see how images are rotated now. It should be identical between GIMP/browser. - if need be, physically rotate images |
All times are GMT -5. The time now is 10:36 PM. |