Gossamer Forum
Home : General : Perl Programming :

Image::Magick - animations showing corrupt :(

Quote Reply
Image::Magick - animations showing corrupt :(
Hi,

I've come across a problem with images that are animated, and "scaling" the image dimensions down.

The code is:

Code:
$image = Image::Magick->new;
$x = $image->Read($path);
if ($x) { print "Error: $x"; exit; }

print qq|Debug: geometry=>$_PercentageSmaller \n|;
$x = $image->Scale(geometry=>$_PercentageSmaller);
if ($x) { print "Error: $x"; exit; }


print qq|Debug: filename=>$WriteImage \n|;
$x = $image->Write(filename=>$WriteImage);
if ($x) { print "Error: $x"; exit; }

Attached is a sample image that is made. Anyone got any ideas? :/

TIA

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Image::Magick - animations showing corrupt :( Andy 8455 Apr 26, 2007, 2:22 AM
Thread Re: [Andy] Image::Magick - animations showing corrupt :(
eupos 8305 Apr 26, 2007, 9:06 AM
Thread Re: [eupos] Image::Magick - animations showing corrupt :(
Andy 8241 Apr 27, 2007, 1:23 AM
Thread Re: [Andy] Image::Magick - animations showing corrupt :(
dan 8293 Apr 27, 2007, 2:54 AM
Thread Re: [dan] Image::Magick - animations showing corrupt :(
Andy 8248 Apr 27, 2007, 3:32 AM
Post Re: [Andy] Image::Magick - animations showing corrupt :(
dan 8248 Apr 27, 2007, 8:33 AM