Forum Moderators: coopster
I'm using iMagick for php to resize images, create thumbnails etc. As part of the resize I check that an imagewidth isn't greater then 700. If it is I want to make the width a maximum of 700. Resizes work fine, except when I use a transparent gif. It totally ignores the size of the transparent background and thinks it isn't over 700px even if it is, as such it doesn't resize the image and it ruins the look of my site. Does anybody know a way around this? I've tried searching google and the documentation but no luck so far.
Thanks
In an animated .gif, the header info that determines the size is a bit different. It probably grabbed the first actual .gif in the ani on the stack and set the size from that. There are methods to compile animations with ImageMagick, but reading an animation already compiled will do some weird stuff.