Page 1 of 1

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

Posted: Sun Jul 29, 2018 11:03 am
by masterjp
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

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

Posted: Tue Aug 07, 2018 8:01 am
by xnview
do you have the same problem with 0.90? could you send me the picture file used?

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

Posted: Tue Aug 07, 2018 2:36 pm
by masterjp
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.

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

Posted: Wed Aug 08, 2018 1:11 pm
by xnview
ok, this bug was introduced by this fix, will be fixed

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

Posted: Thu Aug 09, 2018 7:38 am
by masterjp
Fantastic! :-) Thank you.