Page 1 of 1

Images get corrupted upon saving

Posted: Tue Sep 26, 2023 9:09 pm
by Emmy69
XnView Classic sometimes corrupts my images. I crop an image, choose Save as, and after saving I try to close XnView. Then I am asked if I want to save the image. As if I hadn’t saved the changes already. No matter what I choose, saving again or not saving again, after I get that question upon closing the program my image turns out to be corrupt. In the way shown below.

This does not happen all the time fortunately. Restarting the program doesn’t fix the problem. Rebooting the system doesn’t fix the problem. Usually after 2 or 3 times this error disappears all by itself, but today I tried editing and saving an image and up to 10 times in a row my image was corrupted. I haven’t got a clue what causes it, so I also have no idea how to fix this. Anyone got the solution?

IMG_0088.jpeg

Re: Images get corrupted upon saving

Posted: Wed Sep 27, 2023 5:57 am
by xnview
which output format?

Re: Images get corrupted upon saving

Posted: Sat Sep 30, 2023 10:03 pm
by Emmy69
The input and output are jpg.

Re: Images get corrupted upon saving

Posted: Sun Oct 01, 2023 7:08 am
by xnview
Do you have an original file and saved one?

Re: Images get corrupted upon saving

Posted: Sun Oct 01, 2023 8:54 am
by Emmy69
Not at the moment. When it happens, it has already overwritten the original when I get the second message,about saving before exiting. I use XnView to crop scans, and rotate them, so when it corrupts an image when saving I have to redo the scan. I never know when this problem wille occur, as it happens very randomly. I haven’t been able to determine if it happens after a certain time that the program is active, or after editing a certain amount of images etc. The problem is I cannot backup all the files before editing, so as a result I never have any originals after this corrupting happens. Next time it happens, I will try to backup the new scan before editing it again. Hopefully I will be able to save an original and a corrupted file this way.