Command-line image manipulation
Posted: 2008-04-23T16:24:16-07:00
I currently use this for shrinking image.png to a smaller dimension of 110x120.
convert -resize '110x120!' image.png test2.png
How would I overlay test2.png onto the center of a transparent 128x128 image or increase test2.png's dimensions to 128x128, while keeping its original dimensions and having it centered, with a transparent background?
Not necessary to have this integrated into the command above but would be preferable.
convert -resize '110x120!' image.png test2.png
How would I overlay test2.png onto the center of a transparent 128x128 image or increase test2.png's dimensions to 128x128, while keeping its original dimensions and having it centered, with a transparent background?
Not necessary to have this integrated into the command above but would be preferable.