Page 1 of 1

Invalid jpg crop (when displayed image is exif-rotated)

Posted: Sat Jan 31, 2015 4:21 pm
by DCT
I found the following bug with irreversible losses of the image.
1) XnView is set to display JPGs autorotated by exif-tag.
2) A selection is made.
3) The jpeg-crop is used.
The result of crop is wrong (cropping height and width are exchanged) when on displaying the image is rotated!
The bug is crytical because jpeg-crop has no undo, so the image is irreversibly corrupted. :(

Re: Invalid jpg crop (when displayed image is exif-rotated)

Posted: Mon Feb 02, 2015 9:50 am
by xnview
i can't reproduce, could you send me a sample file?

Re: Invalid jpg crop (when displayed image is exif-rotated)

Posted: Mon Feb 02, 2015 12:26 pm
by DCT
I've deleted the file. :(
Such a bug I've noticed in previous versions too (not often but from time to time). This makes me to rotate images by exif first before cropping to avoid wrong cropping.

In previous versions bug was not reproducible (restarted XnView croped the same file correctly). Maybe the error is caused after one by one cropping of several images in line, but every time the bug occurs an image has orientation tag.

Re: Invalid jpg crop (when displayed image is exif-rotated)

Posted: Mon Jun 01, 2015 7:32 am
by Karl02
I couldn't reproduce this bug with XnView v2.32 (2015-03-16). But this problem shows that it would be good to have an option to create a backup file. See my suggestion here: http://newsgroup.xnview.com/viewtopic.p ... 15#p126126