hi guys i have a lot of images with transparent background, and also transparent space around the image.
how to crop that transparent space around the image using batch auto crop tool?
here also i attach some files as a file example.
thank you guys.
How to Auto Crop Transparent space?
Moderators: XnTriq, helmut, xnview
-
- Posts: 5
- Joined: Wed Jan 27, 2021 7:29 pm
How to Auto Crop Transparent space?
You do not have the required permissions to view the files attached to this post.
-
- Author of XnView
- Posts: 39834
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 5
- Joined: Wed Jan 27, 2021 7:29 pm
Re: How to Auto Crop Transparent space?
yes, but if the image has white color, it will cropped the image the image, not only the transparent space.
like this image it will only leave the black image on the center, and cropped the white text when use automatic crop. the image has white text surrounding the image if you open it.
like this image it will only leave the black image on the center, and cropped the white text when use automatic crop. the image has white text surrounding the image if you open it.
You do not have the required permissions to view the files attached to this post.
-
- XnThusiast
- Posts: 3651
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: How to Auto Crop Transparent space?
I get the following result with these settings:
But I have always found 'Automatic crop' difficult to understand, and in other XnView software have sometimes had to use surprisingly large tolerance values. In the above image with those settings I don't see the expected cropping to the outline of the white text.
Edit:
Tested in XnConvert 1.92, XnView MP 0.98.4 is similar, note that a bug related to transparency has recently been corrected in both softwares.
But I have always found 'Automatic crop' difficult to understand, and in other XnView software have sometimes had to use surprisingly large tolerance values. In the above image with those settings I don't see the expected cropping to the outline of the white text.
Edit:
Tested in XnConvert 1.92, XnView MP 0.98.4 is similar, note that a bug related to transparency has recently been corrected in both softwares.
You do not have the required permissions to view the files attached to this post.
-
- Posts: 3
- Joined: Sun Mar 12, 2023 11:07 pm
Re: How to Auto Crop Transparent space?
Sorry for necroing, but I can't seem to get XnView MP to auto crop transparent space at all. I don't even have white to deal with, which maybe is the problem? This is the result I get in any case:
You do not have the required permissions to view the files attached to this post.
-
- Author of XnView
- Posts: 39834
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 3
- Joined: Sun Mar 12, 2023 11:07 pm
Re: How to Auto Crop Transparent space?
You do not have the required permissions to view the files attached to this post.
-
- Author of XnView
- Posts: 39834
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
-
- Posts: 3
- Joined: Sun Mar 12, 2023 11:07 pm