QUOTED_MESSAGE: > Hi Tony, > > Thanks for your prompt response! I have found the > problem. Here are the formats that came > back: > > bmp > raw > pnm > tga > jpeg > rgb > > How difficult will it be for my shared hosting provider > to add gif? I don't believe I have access to change this > module installation. > > Thank You, > > Greg > > Tony Cook <14944@xyz.molar.is> wrote: On Tue, Sep > 06, 2005 at 05:32:20PM -0700, Greg Krieser > wrote: [SNIP] > > Do you get an empty file, or no file at > all? > > Does your installed Imager have GIF configured? To test > this run: > > perl -MImager -le 'print for keys %Imager::formats' > > and see if gif is listed. > > I ran the following script: > > #!perl -w > use strict; > use Imager; > > my $in = shift; > my $out = shift > or die "Usage: $0 input output\n"; my $img = > Imager->new; > $img->read(file=>$in) or die "Cannot read > $in: ",$img->errstr,"\n"; my $scaled = > $img->scale(xpixels=>100); $scaled->write(file=>$out, > type=>'gif') or die "Cannot write $out: > ",$scaled->errstr,"\n"; > > which produced a resized GIF image when I tested > it.
EKKI skrifa neitt hér:
© 2000-2002 Bjarni R. Einarsson / fyrirspurnir / skilmálar / þakkir /