0.91 - sometimes generates thumbnails with wrong orientation and stretch the orignal picture

Locked
User avatar
masterjp
Posts: 99
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf (Germany)

0.91 - sometimes generates thumbnails with wrong orientation and stretch the orignal picture

Post by masterjp » Sun Jul 29, 2018 11:03 am

I browsed a new folder with many jpeg pictures ( more than 100) and one thumbnail in browser view mode get a wrong orientation and the thumbnail image will be stretched. The original picture is in portrait format and xnviewmp detects the picture as landscape format and stretch the original picture to landscape format.

I tried different tests to find the reason for this error:

1. If I generate a new thumbnail in browser mode with the menue "view" => rebuild thumbnails, the new generated thumbnail image is correct.

2. I copied the original picture file to another directory and browse the folder again. The thumbnail is perfect.
Although I deleted the browser cache of xnviewmp and browse the same folder again. The thumbnail of the problematically file is okay.

My thumbnail size setting is 192x144 pixels (preset).

---

How to reproduce the problem:

1. Create a directory and copy only one picture file in it (*.jpg, *.png, etc.).
2. Open XnViewMP and start the browser view mode
3. Open the created directory (from point 1.)
4. Select the picture with the mouse
5. Press [STRG]+[C] (=copy)
6. Press [STRG]+[V] fast and many times to make many copies of the file (=insert)
7. After that xnviewmp automatically generates thumbs for all new files in the directory

Some of them are correct and some are wrong as you can see in my picture.
Clipboard 1.jpg
OS: Windows 10 Pro x64 | XN-View 2.44 | XN-View MP 0.91 | Adobe Photoshop Elements 15 & Photoshop XXL

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

Re: 0.91 - sometimes generates thumbnails with wrong orientation and stretch the orignal picture

Post by xnview » Tue Aug 07, 2018 8:01 am

do you have the same problem with 0.90? could you send me the picture file used?
Pierre.

User avatar
masterjp
Posts: 99
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf (Germany)

Re: 0.91 - sometimes generates thumbnails with wrong orientation and stretch the orignal picture

Post by masterjp » Tue Aug 07, 2018 2:36 pm

Great idea.

I tried the same test with XnViewMP 0.90 and the thumbnails do not get stretched and are correct.

If I resize the original file to 600 x 800 pixels and try it again with beta 0.91 beta #4 , there won't be a problem.

The problem should be new since XnViewMP 0.91 beta.
Attachments
Df10.png
OS: Windows 10 Pro x64 | XN-View 2.44 | XN-View MP 0.91 | Adobe Photoshop Elements 15 & Photoshop XXL

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

Re: 0.91 - sometimes generates thumbnails with wrong orientation and stretch the orignal picture

Post by xnview » Wed Aug 08, 2018 1:11 pm

ok, this bug was introduced by this fix, will be fixed
Pierre.

User avatar
masterjp
Posts: 99
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf (Germany)

Re: 0.91 - sometimes generates thumbnails with wrong orientation and stretch the orignal picture

Post by masterjp » Thu Aug 09, 2018 7:38 am

Fantastic! :-) Thank you.
OS: Windows 10 Pro x64 | XN-View 2.44 | XN-View MP 0.91 | Adobe Photoshop Elements 15 & Photoshop XXL

Locked