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

Re: scale a gif and background turns black

From: Tony Cook (
13942@xyz.molar.is)
Date: Mon 27 Jun 2005 - 12:50:16 GMT

  • Next message: Delfim Machado: "Re: scale a gif and background turns black"

    On Mon, Jun 27, 2005 at 01:21:50PM +0100, Delfim Machado wrote:
    > -----BEGIN PGP SIGNED MESSAGE-----
    > Hash: SHA1
    >
    > Hi!
    >
    > i'm using Imager to create thumbnails but in some gif files the
    > background turns black, this happens on my transparent gifs.
    >
    > What can i do to correct this?

    Call the write() method with transp=>'threshold':

      $img->write(file=>$somefilename, transp=>'threshold');

    The documentation needs some examples there, noted for 0.46.

    Tony



  •