Page 1 of 1

0.98: Crop load preset is not correct

Posted: Sat Jan 16, 2021 2:20 pm
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:
  1. Add a new pair of fixed but opposite pixel croppings.
    Screenshot_2021-01-16-22-13-48.png
    Screenshot_2021-01-16-22-13-48.png (46.29 KiB) Viewed 776 times
  2. Select two crop presets separately
  3. The vertical ratio is right.
    Screenshot_2021-01-16-22-16-44.png
  4. Actual behaviour (bug): the horizontal ratio is wrong :bug:
    Screenshot_2021-01-16-22-17-02.png
    Screenshot_2021-01-16-22-17-02.png (271.73 KiB) Viewed 776 times
Expected behaviour: Produces a wide crop box

Re: 0.98: Crop load preset is not correct

Posted: Mon Jan 18, 2021 3:40 pm
by xnview
sorry but i can't reproduce, which image size has the loaded image?

Re: 0.98: Crop load preset is not correct

Posted: Tue Jan 19, 2021 12:06 pm
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
  1. When I select the specified ratio that width > height. such as 16:9.
    • If the picture width > height, the crop box is horizontal.
      Screenshot_2021-01-19-19-30-40.png
    • If the picture width < height, the crop box is vertical
      Screenshot_2021-01-19-19-30-49.png
  2. And I create a new specified ratio that width < height. such as 9:16.
    • If the picture width > height, the crop box is horizontal.
      Screenshot_2021-01-19-19-35-44.png
    • If the picture width < height, the crop box is vertical
      Screenshot_2021-01-19-19-35-53.png
  3. The landscape picture scale is correct, and the portrait picture scale is wrong.:bug:
Specify pixels or print sizes(inch, cm)
  1. It's different from the scale, crop ratio are not affected, whether they are landscape or portrait.
  2. Create two new pixel crop preset, and one is width > height and another one is width < height.
    Screenshot_2021-01-19-19-50-34.png
  3. If I chose 100×300, crop correctly.
    Strip 1.png
  4. If I chose 300×100, the ratio is transposed and the preset height is used as the width. :bug:
    Strip 2.png

Re: 0.98: Crop load preset is not correct

Posted: Tue Jan 19, 2021 2:33 pm
by xnview