1.8.3: Lossless crop and Ctrl-x crop fail

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

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
pak
Posts: 9
Joined: Fri Jun 23, 2006 12:52 pm

1.8.3: Lossless crop and Ctrl-x crop fail

Post by pak »

Subject: 1.8.3: Lossless crop and Ctrl-x fail

XnView: MP 1.8.3 - 64 bit
OS: Windows 10 64bit

Lossless crop works incorrectly, but normal crop works correctly, except for Ctrl-x which does nothing.

Effect: Incorrect dimensions for lossless crop. No change in image via Ctrl-x.

To reproduce:
1. Create a new image of any dimensions using File>New Image. Crop using the shortcut Ctrl-x,

OR,

2. Create a new image of 1000x1000 pixels using File>New Image. Crop using the crop (lossless) tool.

Actual behaviour (bug):

1. (Ctrl-X crop) The tab title adds an "*", but no changes occur in the actual image. :bug:

2. (Lossless crop) Image will crop close to the correct size, but not exactly. For example, attempting to crop a 1000x1000 pixel image to 700x700 pixels using the crop (lossless) tool reduces the image to 712x712 pixels. A lossless crop to 999x999 pixels results in no change. :bug:

Expected behaviour: An image cropped to specified dimensions.

Note: cropping via the Edit>Crop tool, or the crop icon on the toolbar adds the "*" to the tab and crops correctly.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.8.3: Lossless crop and Ctrl-x crop fail

Post by xnview »

pak wrote: Sun Nov 24, 2024 9:40 pm To reproduce:
1. Create a new image of any dimensions using File>New Image. Crop using the shortcut Ctrl-x,
So image is not saved as jpeg file?
Pierre.
pak
Posts: 9
Joined: Fri Jun 23, 2006 12:52 pm

Re: 1.8.3: Lossless crop and Ctrl-x crop fail

Post by pak »

The lossless crop does save the incorrectly cropped image as a jpeg directly.

The uncropped image that I tried to use ctrl-x to crop, can be saved as a jpeg.

The incorrect crops happen with any image, not just a newly created one.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 1.8.3: Lossless crop and Ctrl-x crop fail

Post by xnview »

pak wrote: Mon Nov 25, 2024 1:47 pm The lossless crop does save the incorrectly cropped image as a jpeg directly.
But you can't make a lossless crop on an unsaved image...
Pierre.
Post Reply