increase canvas size without increasing layer size?

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
erinspice

increase canvas size without increasing layer size?

Post by erinspice »

Hi! I need to resize an image by adding a strip of white underneath the image I've read in. I've consulted the API, but I can't seem to find anything that will do this. Do you guys know of a way to do this? I've found a couple of workarounds (composite over white image the desired size, border and crop), but I wish there were something more direct.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: increase canvas size without increasing layer size?

Post by anthony »

Look at Splice
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply