I am doing a comparison with imagemagick on a project. I have a reference image and test image. I deleted few lines to make changes in test image. This reduced the size of test image. Is there any way that if I could add some white padding at bottom to test image so that while comparing reference image and test image the size of two images remains same.
Please help!
convert -border 5x5 inputimage.png outputimage.png
This command will draw a 5x5 pixel border around your image. Further, you can selectively control at the edges, color and size of the borders drawn on an image. This link will show how to do that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With