Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thumnail orientation wrong
#1
After exporting a landscape jpg image the thumbnail appears as portrait in the file manager (Thunar 1.8.1) and the image viewer (ristretto 0.8.3). However, the image viewer displays the image correctly. Ubuntu Studio 18.10 Gimp 2.10. Any help appreciated.
Reply
#2
Was this originally an image in portrait mode, then rotated 90⁰ ?

Try when exporting to jpeg, in the advanced options, un-tick Save/Exif/thumbnail/XMP/IPTC

It is probably the exiv data but might be the thumbnail causing the viewer issue.

In 'buntu 18.10 (VM) looks like this. https://i.imgur.com/jW0MMmc.jpg
Reply
#3
The image was shot in landscape mode processed from raw in Darktable after which the thumbnail is still correct then modified in GIMP after which the thumbnail has flipped to portrait. The image still display correctly in Ristretto image viewer. Puzzling.
Reply
#4
When you look only at  the pixel data, the image from a camera is always in landscape mode. The EXIF orientation field specifies which of its four corners is actually the top-left one.

When you edit a portrait image(*), the image is rotated on load, and saved as a portrait image, while the orientation field is reset to indicate the top-left corner as the actual top-left (no rotation).

Normally Gimp does the right thing with the EXIF orientation when saving.

Historically the WinXP image viewer didn't use the EXIF, and so would show portrait images rotated on the side. When yo uused the rotate button, it would resave the rotated image (**) and to add insult to injury, would not change the EXIF orientation, so other viewers (or Gimp) would rotate the image again...

(*) or an upside-down one....
(**) which in itself is a capital sin, you shouldn't change the user data without an explicit order to do so
Reply
#5
choose export and then go to advanced options that appear and do not put a check mark in "to save the thumbnails", that's all.
twopiradians
Reply


Forum Jump: