Mobile app version of vmapp.org
Login or Join
Berryessa866

: 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?

@Berryessa866

Posted in: #Crop #Gimp #WhiteSpace

I wanna trim all white spaces surrounding an image's content using Gimp. Is there some straightforward method, or any trick?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Berryessa866

2 Comments

Sorted by latest first Latest Oldest Best

 

@Looi7658678

What do you have there that

Image->Autocrop image did not work?

10% popularity Vote Up Vote Down


 

@Heady304

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme