views:

124

answers:

0

Hi, I have 2 questions about using the php imagick class that I can't get working properly...

1.) I tried resizing / cropping a gif, and treated it as a normal image. It seemed to work, except that a few frames in the middle of the animation contained a small patch of artifacts. Is there a setting that should be used when working with multi-frame gifs?

2.) Is there a simple command to resize images if they are too small by just adding a background? For instance, if an image is 10x10, could I add a white background, and have a 100x100px image with the original in the upper left corner?

Thanks for any help!