Auto-Backup for JPGlossless cropping

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Auto-Backup for JPGlossless cropping

Post by helmut »

As written in topic Lossless JPG editing, JPGlossless cropping is lossless for the area within the selection, but the user will loose all of the non-selected area. This cannot be undone.

So using the function "JPGlossless cropping" is pretty cumbersome and even dangerous:
- Users are endangered to destroy their images.
- Users first have to make a backup of their image and then apply JPG cropping.

I'm aware that there is a warning dialog which tells the user that JPGlossless transformations directly affect the image file. But users might have even switched off the warning dialog because they kept using JPG lossless rotation, which is lossless and can be used without problems.

I suggest to add something like an "auto-backup" or something else which avoids the danger of loosing an image. Perhaps this auto-backup can be also applied whenever saving an image with the same name.

That's just a first idea for a perhaps larger functionality. Suggestions and ideas are welcome (as always).
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Post by Dreamer »

Yes, I don't know how, but should be implemented, I think it's very important feature - it should work as Undo if possible, check also these suggestions:

http://newsgroup.xnview.com/viewtopic.php?t=4267
http://newsgroup.xnview.com/viewtopic.php?t=3819
Dreamer
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Post by oops66 »

Dreamer wrote:Yes, I don't know how, but should be implemented, I think it's very important feature - it should work as Undo if possible, check also these suggestions:
http://newsgroup.xnview.com/viewtopic.php?t=4267
http://newsgroup.xnview.com/viewtopic.php?t=3819
Yes, like here (for the 1.92 beta) for the Undo-Redo function :
http://newsgroup.xnview.com/viewtopic.php?t=13970
.....
But the first image (the original one) must always stay in Tmp memory (as soon as we apply a first or more changes¦effects) even if the number of modifications is over the level in the xnview.ini file: Undocount= setting.

By this way, undo all changes always means : return to the first step (the original image).
XnViewMP Linux X64 - Debian - X64
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: Auto-Backup for JPGlossless cropping

Post by marsh »

helmut wrote: I'm aware that there is a warning dialog which tells the user that JPGlossless transformations directly affect the image file. But users might have even switched off the warning dialog because they kept using JPG lossless rotation, which is lossless and can be used without problems.
Good point. Should there be seperate warning for rotate and crop?
User avatar
helmut
Posts: 8705
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Auto-Backup for JPGlossless cropping

Post by helmut »

marsh wrote:
helmut wrote: I'm aware that there is a warning dialog which tells the user that JPGlossless transformations directly affect the image file. But users might have even switched off the warning dialog because they kept using JPG lossless rotation, which is lossless and can be used without problems.
Good point. Should there be seperate warning for rotate and crop?
Good idea. Separate warnings are a possible (interim?) solution.
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Re: Auto-Backup for JPGlossless cropping

Post by Dreamer »

helmut wrote:Good idea. Separate warnings are a possible (interim?) solution.
I agree. Undo would be the best solution, of course.

I'll add this topic to the Global Request & Suggestion list, because it's very important.
Dreamer
User avatar
XnTriq
Moderator & Librarian
Posts: 6503
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq »

One interesting observation I've made when applying lossless transformations to write-protected JPEGs is that a new cropped/rotated copy is created, since the original file can't be overwritten:
Error message wrote:An error occurs, maybe original file is in READ only.
  • original.jpg » original.jp_
    original.jpeg » original.jpe_
This goes for both Browser and View mode.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: Auto-Backup for JPGlossless cropping

Post by marsh »

Dreamer wrote:
helmut wrote:Good idea. Separate warnings are a possible (interim?) solution.
I agree. Undo would be the best solution, of course.
v.1.92 now has seperate warnings for jpeg crop and rotate.