in reply to Resizing images with transparent background?

Image::Scale can resize and keep transparency if you use the png format instead of gif. I tried this:
#!/usr/bin/perl use strict; use warnings; use Image::Scale; my $img = Image::Scale->new('image.gif'); $img->resize_gd( { width => 150 } ); $img->save_png('newImage.png');

Replies are listed 'Best First'.
Re^2: Resizing images with transparent background?
by aweizd (Initiate) on Oct 14, 2010 at 12:53 UTC
    Image::Scale looks great. Can't get it to install though, because I don't have libjpeg and libpng on my XP vm. Working on it.