The automatic crop action sometimes does the crop the way it wants to do, and not the way the user requested.
Steps to reproduce the problem:
1) Use the attached "Reserve 12.png" image
2) In the Actions tab, add the "Automatic Crop"
3) Use the following parameters:
- Color of pixel at: Bottom Left
But then, instead of cropping the huge red bar at the bottom, it crops the top yellow bar that is part of the image. Selecting "bottom-right" doesn't solve the problem either.
[bug] Automatic crop sometimes work incorrectly
Moderators: XnTriq, helmut, xnview
-
- Posts: 39
- Joined: Sat Sep 10, 2016 11:29 pm
[bug] Automatic crop sometimes work incorrectly
You do not have the required permissions to view the files attached to this post.
-
- Author of XnView
- Posts: 44448
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: [bug] Automatic crop sometimes work incorrectly
Thanks to your detailed description I can reproduce the problem.
Pierre.
-
- Posts: 39
- Joined: Sat Sep 10, 2016 11:29 pm
Re: [bug] Automatic crop sometimes work incorrectly
The problem still happens with some indexed images.
Repeat the same steps listed for the 1st image in this thread with the MSCHOO25.GIF attached here.
Repeat the same steps listed for the 1st image in this thread with the MSCHOO25.GIF attached here.
You do not have the required permissions to view the files attached to this post.
-
- Author of XnView
- Posts: 44448
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: [bug] Automatic crop sometimes work incorrectly
But in this picture, there is no area with only 1 colorsd_snatcher wrote: ↑Sat Sep 29, 2018 11:59 pm The problem still happens with some indexed images.
Repeat the same steps listed for the 1st image in this thread with the MSCHOO25.GIF attached here.
Pierre.
-
- Posts: 39
- Joined: Sat Sep 10, 2016 11:29 pm
-
- Author of XnView
- Posts: 44448
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: [bug] Automatic crop sometimes work incorrectly
right, the problem is that automatic crop use colormap index, and there 2 index (0, 1) with black color
Pierre.