Does Not Crop to Selection

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: helmut, XnTriq, xnview

Post Reply
ckit
XnThusiast
Posts: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

Does Not Crop to Selection

Post by ckit »

- Open XnView in Browser mode
- Open image in View mode
- Select an area -> Crop
- XnView crops more than it should sometimes along the bottom or right-hand side!

With Crop selection...
Image

After Cropping...
Image

V 1.90 RC1
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

OK for me

Post by Clo »

—> ckit

:) Hello Chris !

• I cannot confirm. I cropped BMP, JPG, GIF, small and large images,
it works as it should with the manual selection (LMB for me).
- All resulting sizes are right.

• It works fine too using a pre-defined selection size, though I found a hitch about the “Crop” button
I report in a separate thread…

¤ XP-Pro SP1

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
ckit
XnThusiast
Posts: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

Post by ckit »

It's possible this a WinXP SP2 related problem.
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
User avatar
Troken
Posts: 697
Joined: Thu Feb 09, 2006 10:18 am
Location: Sweden

Post by Troken »

Can it have something to do with the lossless crop where there is an adjustment of up to 8 pixels?
ckit
XnThusiast
Posts: 2583
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia
Contact:

Post by ckit »

No, I was using the normal crop function.
You are referring the crop function that is in the Rotate dropdown list?
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro and Wintoys
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Post by helmut »

In your (ckit's) screenshot one can clearly see that on the right side the area does not match the selection.

I've just tried to reproduce the problem, but cropping works o.k. for me. Cropping an image with (more or less) similar size and about similar zooming worked 100% o.k.

@ckit: What happens if you:
1.) Select an area
2.) Copy the selection to the clipboard
3.) Paste the selected area into a new image A.
4.) Crop the image to image B
5.) Compare image A & B.
Both images are supposed to be similar. Does this apply for your image? Are both images wrong? Did you use free selection or a selection ratio or selection size?
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

ckit wrote:No, I was using the normal crop function.
You are referring the crop function that is in the Rotate dropdown list?
Do you reproduce it always?
Pierre.
Post Reply