Hi Magick-users, I'using ImageMagick in a cgi script, to resize & crop uploaded mages to the desired format for the particular site.
All is well, for jpg. But when I try a (animated) gif, it goes wrong. It crops away the parts that need to be cut away, but leaves them in the canvas so to say. I mean, the sizes of the images haven't changed. You can see what i mean here: http://www.allesoversterrenkunde.nl/test/upload.html Here's what I do: $cropcommand = $MaxFullimgX ."x" . $MaxFullimgY ."+" . $cropwidth ."+" . $cropheight ; $image->Crop( geometry=>$cropcommand , gravity=>'Center' ); # crop the image Now, at this page: http://tinyurl.com/cfkopm an answer is to a similar question is: To do it properly use... convert jumping_egg.gif -crop 146x167+20+25! cropped.gif Is there someone who knows if/how I can convert this to work in my cgi script? (And if that's the way forward?) Thanks, -- Lex Thoonen PĂȘng Smart Web Design - http://www.peng.nl Gran Canaria Info - http://www.gran-canaria-info.com Hollandse Nieuwe - http://www.hollandsenieuwe.com tel. +34 928 88.61.77 _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
