Creating image borders with ImageMagick convert
Want to support HowtoForge? Become a subscriber!
|
The command is: convert -border 2x2 old.jpg new.jpg This creates a new image (new.jpg) with a 2 pixel border from the image old.jpg. To set the bordercolor to red, use this command: convert -border 2x2 -bordercolor "#FF0000" old.jpg new.jpg
|



Recent comments
1 day 4 hours ago
1 day 15 hours ago
1 day 20 hours ago
2 days 15 hours ago
2 days 17 hours ago
2 days 17 hours ago
2 days 20 hours ago
2 days 21 hours ago
3 days 13 hours ago
3 days 14 hours ago