gflJpegLosslessTransform doesn't rotate EXIF thumbnail

Discussions on GFL SDK, the graphic library for reading and writing graphic files

Moderators: XnTriq, xnview

reggi
Posts: 16
Joined: Thu Sep 16, 2004 1:32 pm

gflJpegLosslessTransform doesn't rotate EXIF thumbnail

Post by reggi »

Function gflJpegLosslessTransform don't rotate thumbnail in Exif data.
Is't bug, or correct behavior? It's little odd because XnView read the Thumbnail correct, but my program (and many others) no more.
Maybe needful is rotation of thumbnail in my program, but how (left, right etc.)? Always in Exif Tag 'Orientation' (tag number $0112) is value '1'. How it recognize?

Regards
User avatar
xnview
Author of XnView
Posts: 36805
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Bug in gflJpegLosslessTransform? Don't rotate exif thumb

Post by xnview »

reggi wrote:Function gflJpegLosslessTransform don't rotate thumbnail in Exif data.
Is't bug, or correct behavior? It's little odd because XnView read the Thumbnail correct, but my program (and many others) no more.
Maybe needful is rotation of thumbnail in my program, but how (left, right etc.)? Always in Exif Tag 'Orientation' (tag number $0112) is value '1'. How it recognize?
Yes, the thumbnail is not rotated, and gflLoadThumbnail doesn't load the embedded jpeg thumbnail.
Pierre.