How do I do a lossless jpg crop?
Moderators: XnTriq, helmut, xnview
-
- Posts: 92
- Joined: Wed Jan 24, 2007 3:59 pm
- Location: The Netherlands
How do I do a lossless jpg crop?
I have been using FastStone viewer for some years now, and that application has a feature whereby you can cut/crop a piece out of your photos and save them. The thing is, it is doing it losslessly, even though it's a jpg. So, I could cut/crop a picture I've taken multiple times without losing any quality.
How can I do this with XnView? I've been searching the forum, but couldn't find any good info on it.
How can I do this with XnView? I've been searching the forum, but couldn't find any good info on it.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
-
- Author of XnView
- Posts: 44487
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 92
- Joined: Wed Jan 24, 2007 3:59 pm
- Location: The Netherlands
Re: How do I do a lossless jpg crop?
#OUCH#, I just lost a picture!!! There is no undo, and it immediately overwrites the file on the hard-disk!!!
Please fix this terrible bug before others also lose their photographs!
I'm using v1.97.8 and can reproduce this bug consistently.
Do you need my ini file to replicate the bug? Let me know.
Please fix this terrible bug before others also lose their photographs!
I'm using v1.97.8 and can reproduce this bug consistently.
Do you need my ini file to replicate the bug? Let me know.
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
-
- Posts: 8705
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
Re: How do I do a lossless jpg crop?
Behaviour of JPG losssless crop is tricky and data can be lost too easily. In topic Auto-Backup for JPGlossless cropping an improvement has been suggested.
-
- XnThusiast
- Posts: 2010
- Joined: Wed Mar 17, 2004 8:33 pm
- Location: Sarasota Florida
Re: How do I do a lossless jpg crop?
Hmmm... sorry to hear that.
But, if the crop was saved to a new file, then perhaps it couldn't be a "lossless" transformation (since the file would have to be recompressed upon saving to the new file)?
Certainly lossless rotations do occur "within" the original file... it is logical that so also would the lossless crop occur "within" the original file.
So, make a copy first!
But, if the crop was saved to a new file, then perhaps it couldn't be a "lossless" transformation (since the file would have to be recompressed upon saving to the new file)?
Certainly lossless rotations do occur "within" the original file... it is logical that so also would the lossless crop occur "within" the original file.
So, make a copy first!
John
-
- Moderator & Librarian
- Posts: 6374
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: How do I do a lossless jpg crop?
Did you change the following setting?
- Tools » Options... » General » File Operations » For lossless operation, make a backup
<!-- Edit: Too little, too late //-->helmut ([url=http://newsgroup.xnview.com/viewtopic.php?p=82322#p82322]Poor Man's Version Control[/url]) wrote:From my point of view the version control should be much less present in dialogs and be more a backup system than a version control. Especially in some situations like lossless crop a backup can be very important and essential to prevent the user from image loss.
-
- Posts: 92
- Joined: Wed Jan 24, 2007 3:59 pm
- Location: The Netherlands
Re: How do I do a lossless jpg crop?
I did not know about this setting, and it was off for meXnTriq wrote:Did you change the following setting?
AFAIK, it's activated by default.
- Tools » Options... » General » File Operations » For lossless operation, make a backup
But really, why on Earth is there no undo and does it save immediately? This is horrible behaviour that is going to bring grown men to tears. Luckily I still had a backup on my camera, or I would have lost a couple of my irreplaceable photos.
Please, please, pretty please with sugar on top FIX THIS!!!
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
-
- Author of XnView
- Posts: 44487
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: How do I do a lossless jpg crop?
yes not by default... But you have a message that lossless operations works on original file!iycgtptyarvg wrote:I did not know about this setting, and it was off for me
Pierre.
-
- Posts: 92
- Joined: Wed Jan 24, 2007 3:59 pm
- Location: The Netherlands
Re: How do I do a lossless jpg crop?
But WHY do it like this? Who could possibly benefit from the risk of losing your photo?
Is there any logical reason why you can't UNDO/REDO the operation like everything else in XnView?
Is there any logical reason why you can't UNDO/REDO the operation like everything else in XnView?
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.
-
- Posts: 19
- Joined: Sat Jul 02, 2016 10:13 am
Re: How do I do a lossless jpg crop?
Ressurecting an old thread.
I'm a long-time user of XnViewMP which is my default image viewer. However for processing images I'm using mostly GIMP.
Long story cut short - I'd like to make a lossless crop of a JPG with XnView.
Under Tools: JPEG lossless operations there are only options for "Rotate" and "Flip". The option "Crop" is grayed out.
It's grayed out in both XnViewMP and the latest XnView I did download today for testing.
Thanks in advance for any suggestion.
I'm a long-time user of XnViewMP which is my default image viewer. However for processing images I'm using mostly GIMP.
Long story cut short - I'd like to make a lossless crop of a JPG with XnView.
Under Tools: JPEG lossless operations there are only options for "Rotate" and "Flip". The option "Crop" is grayed out.
It's grayed out in both XnViewMP and the latest XnView I did download today for testing.
Thanks in advance for any suggestion.
-
- Moderator & Librarian
- Posts: 6374
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: How do I do a lossless jpg crop?
Does one of the following solutions work for you, igel?
bitz4 wrote: ↑Thu May 23, 2013 10:01 amI open a picture in view, make a selection, on the toolbar I have the 'JPEG lossless transformations' drop-down menu present I click the arrow, and the crop option is the only one greyed out. I have to keep the selection (otherwise it won't work), zoom in or out, then access the menu and only then the crop option becomes available.
-
- Posts: 19
- Joined: Sat Jul 02, 2016 10:13 am
Re: How do I do a lossless jpg crop?
Many thanks!
I should learn to use the software before asking for help.
I didn't make the selection first. With the selection done the option isn't grayed out and lossless croping works fine.
I should learn to use the software before asking for help.
I didn't make the selection first. With the selection done the option isn't grayed out and lossless croping works fine.
-
- Moderator & Librarian
- Posts: 6374
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk