See Im Examples, Thunbnails, Padding out the image...
http://www.cit.gu.edu.au/~anthony/graph ... nails/#pad
for three different methods to do this..
Resizing and filling the remaining space
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/