Page 1 of 1

Lost transparency when scal / resize gif

Posted: 2011-03-08T01:28:45-07:00
by MrsCalahan
Hi,

I've some problem with scaling an gif image with transparency.
I try to convert it like this:

Code: Select all

my $img_scale = Image::Magick->new;
$img_scale->Read(foo.gif);
$img_scale->Scale(width=>'37', height=>'75');
$img_scale->Write(foo.gif);	
As a result I get an image without transparency and with a white background.
I use. Version: ImageMagick 6.3.7 11/12/08 with GPL Ghostscript 8.62 (2008-02-29)

what I'm doing wrong?

Re: Lost transparency when scal / resize gif

Posted: 2011-04-28T18:58:59-07:00
by anthony
Worked for me with the latest IM!

My test image was http://www.imagemagick.org/Usage/images/hand_point.gif

I did not save into the same image file. though that should still work fine.