(none) imager-devel
/ help / lists / applications / search /

Resizing .gif Graphics

From: Greg Krieser (
Date: Wed 07 Sep 2005 - 00:32:20 GMT

  • Next message: Tony Cook: "Re: Resizing .gif Graphics"

    Is it possible to resize .gif files just like .jpg files? I've used .jpg resizing without any trouble, but using the same approach with .gif does not work (no error messages, just no results). Any suggestions?
    $img->open(file=>'/path_to.gif',type=>'gif') || print "failed: ",$img->{ERRSTR},"\n";
    if ($width > 250) {
    $scaled->write(file=>'/path_to_resized.gif',type=>'gif') || print "failed: ",$scaled->{ERRSTR},"\n";
    Thank You,

     + http://www.molar.is/en/lists/imager-devel/2005-09/1e3723a4/01.unnamed.html