Lossless Crop Speed (inexplicably slow)

*** Please report new bugs here! ***

Moderators: helmut, xnview, Dreamer

Post Reply
meteorquake
Posts: 114
Joined: Wed Sep 13, 2023 9:37 am

Lossless Crop Speed (inexplicably slow)

Post by meteorquake »

When I losslessly crop a jpeg, the jpegcrop.exe tool is very fast (though its interface is clunky). By contrast, xnview is unexpectedly slow, even on ideal boundaries, although I reckon it used to be much faster.
I wonder if there's any way to improve this as you feel the speed difference, or is there an insurmountable reason for this?
David
stew11
Posts: 3
Joined: Fri Apr 11, 2025 11:32 am

Re: Lossless Crop Speed (inexplicably slow)

Post by stew11 »

But XnView simply used to be faster! Version 1.9.5 crops almost instantly. From 1.9.6 it takes a while longer (noticeably)... Why? I ofen use this feature, so I downgraded to 1.9.5 for now.
meteorquake
Posts: 114
Joined: Wed Sep 13, 2023 9:37 am

Re: Lossless Crop Speed (inexplicably slow)

Post by meteorquake »

I'm glad it's not just me!
In fact, even a tiny JPG of a mere 30K in size takes a long time to crop (not much different from a 7 Mb one) so it's presumably not caused by inadvertently decoding the picture or something (I did check the crop was also lossless using 1200 x 1200 based on 0,0 and it does seem to be)
So it is a mystery...
User avatar
xnview
Author of XnView
Posts: 47002
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Lossless Crop Speed (inexplicably slow)

Post by xnview »

please send us a jpeg sample file?
Pierre.
meteorquake
Posts: 114
Joined: Wed Sep 13, 2023 9:37 am

Re: Lossless Crop Speed (inexplicably slow)

Post by meteorquake »

sample tiny file attached, which is very slow to do a lossless crop within (tested just now on 1.9.8 )
Attachments
test.jpg
test.jpg (39.94 KiB) Viewed 124 times
stew11
Posts: 3
Joined: Fri Apr 11, 2025 11:32 am

Re: Lossless Crop Speed (inexplicably slow)

Post by stew11 »

From my experience, it doesn't matter what file it is, but I attach one anyway. And demonstrations how it looks.
Attachments
bandicam 2025-12-10 18-38-26-404.mp4
version 1.9.5 - 00,11 s
(1.58 MiB) Downloaded 1546 times
bandicam 2025-12-10 18-36-36-676.mp4
version 1.9.8 - 01,26 s
(1.72 MiB) Downloaded 1544 times
any file
any file
test.jpg (329.76 KiB) Viewed 102 times
meteorquake
Posts: 114
Joined: Wed Sep 13, 2023 9:37 am

Re: Lossless Crop Speed (inexplicably slow)

Post by meteorquake »

As per stew11, any jpg seems to suffer from slow lossless crop.
Post Reply