d2phap / ImageGlass

🏞 A lightweight, versatile image viewer
https://imageglass.org
Other
7.9k stars 502 forks source link

Image gets corrupted after rotating #1096

Closed dw-0 closed 3 years ago

dw-0 commented 3 years ago

System information:

To Reproduce

Steps to reproduce the behavior:

  1. Open Image with ImageGlass
  2. Rotate the image either left or right
  3. Close the window and make ImageGlass save the new orientation
  4. File is now corrupted

Actual behavior:

The bug seems to appear irregular and without any pattern. Out of the sudden when viewing an old image and i decide to rotate it, then close the window and ImageGlass saves the new orientation, the file gets corrupted. The thumbnail disappears and the filesize changes. Sometimes images have 0 Bytes... This is now the third time that happens to me, luckily never when i worked with important image data. But this time i was actually able to reproduce the bug a few more times and create a short screen-capture (see below).

I see that i am actually a few versions outdated right now. I will wait for a response before i'll update so i can provide more info if needed or try something else.

Expected behavior:

No corruption of the data.

Screenshots:

I recorded the actual steps to reproduce. Watch the filesize and thumbnail: Bild imageglassbugnvjmt.gif auf abload.de

Additional context:

In the following zip file there is the image before rotating in its pristine condition, and once after corruption: images.zip

dw-0 commented 3 years ago

facepalm... i should have read the release notes of the 8.2.5.16 release first before creating this issue. It literally states that this bug was fixed.

Sorry for the noise, i'll close this issue.