*** Please report new bugs here! ***
Moderators: helmut, XnTriq, xnview, Dreamer
-
Mapaler
- Posts: 56
- Joined: Thu Nov 05, 2015 9:23 am
- Location: China
-
Contact:
Post
by Mapaler »
XnView: MP 0.98 - 64 bit
OS: Windows 10 64bit
Load preset in Crop is not correct.
Effect: Is forced to be set to a vertical scale
To reproduce:
- Add a new pair of fixed but opposite pixel croppings.

- Screenshot_2021-01-16-22-13-48.png (46.29 KiB) Viewed 775 times
- Select two crop presets separately
- The vertical ratio is right.
- Actual behaviour (bug): the horizontal ratio is wrong

- Screenshot_2021-01-16-22-17-02.png (271.73 KiB) Viewed 775 times
Expected behaviour: Produces a wide crop box
-
xnview
- Author of XnView
- Posts: 46255
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
Contact:
Post
by xnview »
sorry but i can't reproduce, which image size has the loaded image?
Pierre.
-
Mapaler
- Posts: 56
- Joined: Thu Nov 05, 2015 9:23 am
- Location: China
-
Contact:
Post
by Mapaler »
xnview wrote: Mon Jan 18, 2021 3:40 pm
sorry but i can't reproduce, which image size has the loaded image?
I unzips a new XnViewMP, and try to re-solve the problem.
I find the proportions strangely present.
specified ratio
- When I select the specified ratio that width > height. such as 16:9.
- If the picture width > height, the crop box is horizontal.
- If the picture width < height, the crop box is vertical
- And I create a new specified ratio that width < height. such as 9:16.
- If the picture width > height, the crop box is horizontal.
- If the picture width < height, the crop box is vertical
- The landscape picture scale is correct, and the portrait picture scale is wrong.

Specify pixels or print sizes(inch, cm)
- It's different from the scale, crop ratio are not affected, whether they are landscape or portrait.
- Create two new pixel crop preset, and one is width > height and another one is width < height.
- If I chose 100×300, crop correctly.
- If I chose 300×100, the ratio is transposed and the preset height is used as the width.

-
xnview
- Author of XnView
- Posts: 46255
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
Contact:
Post
by xnview »
Pierre.