Auto-Backup for JPGlossless cropping

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, xnview

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

Auto-Backup for JPGlossless cropping

Post by helmut » Thu Dec 06, 2007 9:50 pm

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).

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Post by Dreamer » Fri Dec 07, 2007 4:47 pm

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: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Post by oops66 » Fri Dec 07, 2007 8:11 pm

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 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: Auto-Backup for JPGlossless cropping

Post by marsh » Sat Dec 08, 2007 3:36 am

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: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Auto-Backup for JPGlossless cropping

Post by helmut » Sat Dec 08, 2007 9:33 am

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.

User avatar
Dreamer
XnThusiast
Posts: 4605
Joined: Sun Jul 25, 2004 9:08 pm
Location: Slovakia

Re: Auto-Backup for JPGlossless cropping

Post by Dreamer » Sat Dec 08, 2007 4:16 pm

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: 5424
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq » Mon Dec 10, 2007 8:20 pm

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 » Sat Dec 22, 2007 1:56 am

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.

Post Reply