Lossless crop and jpg files

Bugs and Issues in 1.82 Test versions which have been fixed and verified as resolved.

Moderators: XnTriq, xnview

Locked
lawndart
Posts: 51
Joined: Sun Sep 19, 2004 4:03 pm

Lossless crop and jpg files

Post by lawndart » Mon Oct 04, 2004 6:16 pm

Will lossless crop always result in smaller file sizes?
Sometimes jpg files increase in size after cropping with RC4.
(which I expect when images are reencoded).

User avatar
xnview
Author of XnView
Posts: 31489
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Lossless crop and jpg files

Post by xnview » Mon Oct 04, 2004 6:34 pm

lawndart wrote:Will lossless crop always result in smaller file sizes?
Sometimes jpg files increase in size after cropping with RC4.
(which I expect when images are reencoded).
Strange, size should be less???? When file size increase?
Pierre.

lawndart
Posts: 51
Joined: Sun Sep 19, 2004 4:03 pm

Post by lawndart » Mon Oct 04, 2004 7:31 pm

I think I had some larger jpgs increase in size by a large percent.

Here is a quick test of one jpg just show what my settings are:

800x600x24 161.63 original
(a desktop sreenshot using printscreen imported from windows clipboard)
(saved using xnews;jpg settings quality 94; optimize Huffman table)
(after cropping used 'save as', did not overwrite original)

794x596x24 164.14 crop 1 of original
797x596x24 162.49 crop 2 of original
793x591x24 161.04 crop 3 of original
797x598x24 162.47 crop 4 of original
796x597x24 164.98 crop 5 of original

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

I can't find "lossless crop"

Post by Dreamer » Mon Oct 04, 2004 9:22 pm

I'd like to help too, but I can't find "lossless crop".
Can someone tells me where is it?
Thanks.

User avatar
xnview
Author of XnView
Posts: 31489
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: I can't find "lossless crop"

Post by xnview » Tue Oct 05, 2004 6:47 am

Dreamer wrote:I'd like to help too, but I can't find "lossless crop".
Can someone tells me where is it?
Make a selection, and in jpeg lossless button (toolbar), you have crop
Pierre.

User avatar
xnview
Author of XnView
Posts: 31489
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview » Tue Oct 05, 2004 6:48 am

lawndart wrote:(after cropping used 'save as', did not overwrite original)
You use 'save as' after cropping???
Pierre.

lawndart
Posts: 51
Joined: Sun Sep 19, 2004 4:03 pm

Post by lawndart » Tue Oct 05, 2004 7:39 am

xnview wrote: Make a selection, and in jpeg lossless button (toolbar), you have crop
Pierre.
My mistake. I have been using standard crop function.
I completelely missed the crop option under the jpeg lossless button.
(because it is found under the arrow, not popup transformations screen.)
So both crop functions seem to work as expected.

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

Post by Dreamer » Tue Oct 05, 2004 2:15 pm

lawndart wrote:
xnview wrote: Make a selection, and in jpeg lossless button (toolbar), you have crop
Pierre.
My mistake. I have been using standard crop function.
I completelely missed the crop option under the jpeg lossless button.
(because it is found under the arrow, not popup transformations screen.)
So both crop functions seem to work as expected.
I suggest to add lossless crop to crop button too and to right mouse button - there is crop "normal" only (for possible conflits)

Also it looks, it's working good... thanks Pierre :D

Locked