: How to trim an image in Gimp I wanna trim all white spaces surrounding an image's content using Gimp. Is there some straightforward method, or any trick?
I wanna trim all white spaces surrounding an image's content using Gimp. Is there some straightforward method, or any trick?
More posts by @Berryessa866
2 Comments
Sorted by latest first Latest Oldest Best
To trim white borders with Gimp we may
select the white border with the Select by Color Tool
Invert the selection Ctrl + I
Crop the image to the selection (Image > Crop to selection)
For a quicker workflow we can also use the following steps:
Select all Ctrl+ A
Subtract selection by color by Ctrl + mouseclick on selecting
Crop image to selection
Batch processing of large numbers of files can better be done with ImageMagick Trim to remove all colors having the same color as the image corners:
mogrify -trim *.png
Note that this will overwrite your files, work on copies.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.