[MP0.38win] wrong thumbnail and file size after crop

*** Please report new bugs here! ***

Moderators: XnTriq, helmut, xnview, Dreamer

bege
Posts: 65
Joined: Sun Feb 20, 2011 6:27 pm
Location: Germany

[MP0.38win] wrong thumbnail and file size after crop

Post by bege »

Hi,

I cropped the same jpeg file with both XnView and XnViewMP.
Afterwards the thumbnails of the ones cropped in MP showed the picture of the original jpeg and with wrong orientation (in both XnView and MP). Additionally, the ones cropped in MP have sizes one bigger than and one almost as big as the original jpeg. The one cropped with XnView has a size half as big as the original jpeg.
This happens no matter whether "rebuild embedded thumbnail" in the format settings is activated or not.

XnView 1.98
XnViewMP 0.38
Windows XP SP3
screenshot_035.png
You do not have the required permissions to view the files attached to this post.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: [MP0.38win] wrong thumbnail and file size after crop

Post by marsh »

Both programs have same crop result for me. These options might be related (for v.0.35 at least)

1. '[x]Rotate image based on exif orientation'. v.1.98 cropping and saving will reset from Exif orientation (right-top) to (top-left).

2. Jpeg quality (a level higher than what original used can create bigger file).
Default in MP xnview.ini:
[Save]
JPEGQuality=80

Default in v.1.98:
[Save]
JpegQuality=80
bege
Posts: 65
Joined: Sun Feb 20, 2011 6:27 pm
Location: Germany

Re: [MP0.38win] wrong thumbnail and file size after crop

Post by bege »

Hi marsh,
thanks for your answer.
marsh wrote:Both programs have same crop result for me. These options might be related (for v.0.35 at least)

1. '[x]Rotate image based on exif orientation'. v.1.98 cropping and saving will reset from Exif orientation (right-top) to (top-left).
This option is activated in both programs.
marsh wrote:2. Jpeg quality (a level higher than what original used can create bigger file).
Default in MP xnview.ini:
[Save]
JPEGQuality=80

Default in v.1.98:
[Save]
JpegQuality=80
I have the settings in both programs equal (quality best, use estimated quality (when possible)).
So I still don't understand what makes the difference in my case.
Did you crop a file of which the thumbnail is rotated to upright format?
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: [MP0.38win] wrong thumbnail and file size after crop

Post by marsh »

bege wrote: I have the settings in both programs equal (quality best, use estimated quality (when possible)).
So I still don't understand what makes the difference in my case.
Did you crop a file of which the thumbnail is rotated to upright format?
Yes I changed orientation first. Cropped 80% of duplicate jpeg and had 7.6K files at end.
I have not tried estimated quality.
v.1.98:
[Save]
UseOrgJPEGQuality=0
MP:
[Save]
useOriginalJPEGQuality=false
User avatar
xnview
Author of XnView
Posts: 44339
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: [MP0.38win] wrong thumbnail and file size after crop

Post by xnview »

Could you send me the picture file used?
Pierre.
bege
Posts: 65
Joined: Sun Feb 20, 2011 6:27 pm
Location: Germany

Re: [MP0.38win] wrong thumbnail and file size after crop

Post by bege »

xnview wrote:Could you send me the picture file used?
I sent it to the webmaster e-mail address.

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

Re: [MP0.38win] wrong thumbnail and file size after crop

Post by xnview »

ok, the 'rebuild thumbnail' is not used...
Pierre.
bege
Posts: 65
Joined: Sun Feb 20, 2011 6:27 pm
Location: Germany

Re: [MP0.38win] wrong thumbnail and file size after crop

Post by bege »

xnview wrote:ok, the 'rebuild thumbnail' is not used...
... and will be fixed in the next version?

Thank you very much.
Regards
User avatar
xnview
Author of XnView
Posts: 44339
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: [MP0.38win] wrong thumbnail and file size after crop

Post by xnview »

bege wrote:
xnview wrote:ok, the 'rebuild thumbnail' is not used...
... and will be fixed in the next version?
yes :)
Pierre.
User avatar
xnview
Author of XnView
Posts: 44339
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: [MP0.38win] wrong thumbnail and file size after crop

Post by xnview »

Please check XnViewMP 0.38
Pierre.