Viewer discards EXIF orientation tag of JPEG images

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Flaw
Junior Member
Junior Member
Posts: 2
Joined: 2011-10-25, 22:32 UTC

Viewer discards EXIF orientation tag of JPEG images

Post by *Flaw »

I think this is clearly a bug (or maybe a critically missing feature now, in the end of 2011): the integrated Viewer simply discards the EXIF orientation tag of every JPEG image. In the age where thousands of pictures are captured every year by almost every single human being, it maybe worth the effort to support this tiny little EXIF tag to allow Viewer to render the picture in the way it was meant to look.
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

[mod]Moved to TC Suggestions.

Hacker (Moderator)[/mod]
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

History.txt wrote:07.11.11 Added: Lister: Auto-rotate jpg images loaded via GDI+ to the angle stored in the EXIF information (32/64)
Is this optional in TC8PB9?
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50873
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

No, it's not.
Author of Total Commander
https://www.ghisler.com
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

ghisler(Author) wrote:No, it's not.
That's no good. There are images where Exif orientation data does not match the true image orientation, e.g. image was manually rotated and Exif orientation flag was not reset. Maybe Lister should get some extra hot keys for left/right rotation.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50873
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You can use a plugin not supporting orientation if that bothers you. The internal viewer is really just the basic solution for people not installing any plugins. It's not my problem if they have buggy images on their system, sorry.
Author of Total Commander
https://www.ghisler.com
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

It is not basic any more if Exif orientation is evaluated. Windows Photo Viewer ignores it here.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Christian, I think it is not so hard to provide another INI key allowing to enable/disable rotation according to EXIF. :)
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

Yes, please introduce new INI key ExifRotate in [Lister] section.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
Biozynotiker
Member
Member
Posts: 164
Joined: 2011-03-22, 09:57 UTC
Location: Germany

Post by *Biozynotiker »

Yes, please introduce new INI key ExifRotate in [Lister] section.
Christian, I think it is not so hard to provide another INI key allowing to enable/disable rotation according to EXIF.
Full Ack. I want to view the images as it is and I don't want to forced of using any non configurable "automatic" settings.

- Please provide an option to enable/disable it
- or at least a hint in the titlebar and an hotkey to view the unrotated image in lister

EDIT:
I thought about a bit and I think, that there should be a general option to enable/disable this AND provide an hotkey (R) to manipulate the image like F,L,C etc. in lister.
This should satisfy all users.
#92832
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

History.txt wrote:15.11.11 Added: wincmd.ini [Lister] AutoRotate=0 turns off automatic rotation of JPG images according to the EXIF orientation value (32/64)
Auto rotation is no longer working in 64bit-Lister of TC8PB10 no matter what setting for AutoRotate is. JPG image is always displayed without rotation.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50873
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Not confirmed, I have just tested it. Maybe the file is loaded by a plugin? Please check the lister title.

You may also have *.jpg in IViewAdditionalTypes - TC then uses that instead of the internal viewer.
Author of Total Commander
https://www.ghisler.com
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

ghisler(Author) wrote:You may also have *.jpg in IViewAdditionalTypes - TC then uses that instead of the internal viewer.
Yes, that was the point. The question is why TC8PB9 always rotates even if IViewAdditionalTypes contains *.jpg.

Auto rotation is working in TC8PB10 but in wrong direction (for left, top and right, bottom only) if compared with sgviewer or imagine plugins.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
User avatar
Lesmo16
Senior Member
Senior Member
Posts: 380
Joined: 2005-02-07, 07:18 UTC
Location: Germany

Post by *Lesmo16 »

tbeu wrote:Auto rotation is working in TC8PB10 but in wrong direction (for left, top and right, bottom only)...
Can't confirm that. Auto-rotation works fine here.
tbeu wrote:... if compared with sgviewer or imagine plugins.
SGViewer never shows/showed proper rotation, Imagine does.
Everyone believing in telekinesis, raise my hand!
User avatar
tbeu
Power Member
Power Member
Posts: 1354
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu »

Please use these test pictures as a check for Exif auto rotation. You should see a letter [face=arial]F[/face] in all cases if auto rotation works correctly. However picture 5 (left, top) and 7 (right, bottom) are wrongly rotated. I checked with an empty wincmd.ini in TC8PB10 both 32 and 64-bit.
For comparison with SGViewer version 1.8.5 is at least required to see auto rotated JPG images.
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
Post Reply