Recreated Thumb too small with autorotated JPG (DATA LOSS!)

Bugs and Suggestions in XnView Classic which have been resolved

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
negg
Posts: 87
Joined: Sat Jul 09, 2005 12:09 am
Location: Frankfurt, Germany

Recreated Thumb too small with autorotated JPG (DATA LOSS!)

Post by negg »

Went back all the way to Beta1, all new version have this problem: when I save an image that has a exif portrait rotation info (and is thus automatically rotated by XNV) to a new image (with open -> File-Save as) the rotation information is lost, the image permanently rotated and the thumbnail recreated. So far so good.

But the recreated thumbnail is too small! See:

Image

With not autorotated images the problem does not occur.

Unfortunately re-rotating the image and recreating the thumb in landscape mode does not solve the problem. So the thumbnail is lost...

I have set to use embedded thumbnail and not to recreate it if it is smaller than thumbnail size.
XnView 1.93.4 on Windows XP SP2
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Recreated Thumb too small with autorotated JPG (DATA LOS

Post by xnview »

negg wrote:Went back all the way to Beta1, all new version have this problem: when I save an image that has a exif portrait rotation info (and is thus automatically rotated by XNV) to a new image (with open -> File-Save as) the rotation information is lost, the image permanently rotated and the thumbnail recreated. So far so good.

But the recreated thumbnail is too small! See:

With not autorotated images the problem does not occur.

Unfortunately re-rotating the image and recreating the thumb in landscape mode does not solve the problem. So the thumbnail is lost...

I have set to use embedded thumbnail and not to recreate it if it is smaller than thumbnail size.
You means the thumbnail in listview for this file? Perhaps the embedded thumbnail like that???
Pierre.
User avatar
negg
Posts: 87
Joined: Sat Jul 09, 2005 12:09 am
Location: Frankfurt, Germany

Re: Recreated Thumb too small with autorotated JPG (DATA LOS

Post by negg »

xnview wrote:You means the thumbnail in listview for this file? Perhaps the embedded thumbnail like that???
I am not sure if I understand right, but I mean the embedded EXIF-Thumbnail that is used in the Browser with "View -> View as -> Thumbnails and Labels". As far as I understand it the thumbnail displayed there is the embedded EXIF-thumbnail when I have the option Use embedded set and the option Create thumbnail from original imageif embedded is smaller thant thumbnail size unchecked.

Now as you can see in the screenshot the size of this thumbnail differs between "03 Portrait.jpg" and "04 Portrait Saved.jpg". The latter image ("04 Portrait Saved.jpg") was created by opening "03 Portrait.jpg" and saving it as jpg. The new image "04 Portrait Saved.jpg" obviously has an embedded thumbnail that is smaller than the original thumb.

When I save a landscape-format image this does not occur (as you can see in the first image row with "01 Landscape.jpg" (the original) and "02 Landscape Saved.jpg" (the "save as" copy).

To clarify the problem maybe I should add: when I do "JPEG Lossless -> rotate based on exif value" first (so it is a "real" portrait image, not a landscape image that xnview rotates while displaying) and the I save this image as a new image the thumbnail size is correct!
XnView 1.93.4 on Windows XP SP2
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Recreated Thumb too small with autorotated JPG (DATA LOS

Post by xnview »

negg wrote:Now as you can see in the screenshot the size of this thumbnail differs between "03 Portrait.jpg" and "04 Portrait Saved.jpg". The latter image ("04 Portrait Saved.jpg") was created by opening "03 Portrait.jpg" and saving it as jpg. The new image "04 Portrait Saved.jpg" obviously has an embedded thumbnail that is smaller than the original thumb.

When I save a landscape-format image this does not occur (as you can see in the first image row with "01 Landscape.jpg" (the original) and "02 Landscape Saved.jpg" (the "save as" copy).

To clarify the problem maybe I should add: when I do "JPEG Lossless -> rotate based on exif value" first (so it is a "real" portrait image, not a landscape image that xnview rotates while displaying) and the I save this image as a new image the thumbnail size is correct!
Could you send me the original and the saved files, please?
Pierre.
User avatar
negg
Posts: 87
Joined: Sat Jul 09, 2005 12:09 am
Location: Frankfurt, Germany

Re: Recreated Thumb too small with autorotated JPG (DATA LOS

Post by negg »

xnview wrote:Could you send me the original and the saved files, please?
Get them here: http://www.aspekt1.net/ms/temp/xnv_thum ... tfiles.zip [6.874.247 Bytes]
XnView 1.93.4 on Windows XP SP2
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Recreated Thumb too small with autorotated JPG (DATA LOS

Post by xnview »

negg wrote:
xnview wrote:Could you send me the original and the saved files, please?
Get them here: http://www.aspekt1.net/ms/temp/xnv_thum ... tfiles.zip [6.874.247 Bytes]
Ok, i understand. I'll try to fix it...
Pierre.
User avatar
negg
Posts: 87
Joined: Sat Jul 09, 2005 12:09 am
Location: Frankfurt, Germany

Re: Recreated Thumb too small with autorotated JPG (DATA LOS

Post by negg »

xnview wrote:Ok, i understand. I'll try to fix it...
This Problem is FIXED in 1.90!
XnView 1.93.4 on Windows XP SP2
Post Reply