Last Updated: February 25, 2016
·
3.563K
· ksi

Remove whitespace on edges from images

Making screenshots is great! If you want to use them within other docs or wikis, you don't want them to be all at different sizes, so removing the whitespace at the borders would be great. How?
With ImageMagick:

convert -trim screenshot.png trimmed_screenshot.png

That's it.