Then what is the correct method?

I have installed the Image::Magick via the ppm (activestate, win32 perl)

I haven't install any other lib during ImageMagick installation.

And it works great. But with no GIF images as i can see.

PNG is a heavy format as far as i know.

I want the smallest image type (with the less kb storage)

And gif is the smallest files i know.

----- Original Message ----- 
From: "Wiggins d Anconia" <[EMAIL PROTECTED]>
To: "John" <[EMAIL PROTECTED]>; "Perl Beginners" <[EMAIL PROTECTED]>
Sent: Wednesday, February 25, 2004 4:57 PM
Subject: Re: cool project ideas


> Please bottom post...
> 
> > Unfortunately, Image::Magick doen't support gif compression.
> > 
> 
> GIF compression or GIF images? Image::Magick will support any format
> that the underlying imagemagick C libs can support, they can support GIF
> images, but that depends on having libgif or giflib (or some such
> library) installed when imagemagick is built.
> 
> Personally I would suggest scrapping GIFs completely in favor of PNGs.
> 
> > Here is my script
> > 
> > 
> > use Image::Magick;
> > 
> > my $image;
> > 
> > $image = Image::Magick->new;
> > 
> > $image->Read('test.bmp');
> > $image->Resize(geometry=>'800x800');
> > $image->Write(filename=>'test.gif', compression => 'JPEG', quality=>1,
> > monochrome =>True);
> > 
> > the 10MB bmp can be compressed to 100KB jpg (with 800x800 geometry)
> >
> 
> What is the compression for? What is the image of, that monochrome
> quality 1 seems like you would be better off using a vector based
> product or some such, since you are essentially reduced to text or line
> drawings.  
>  
> > Any more effective compression?
> > 
> 
> Can it be decompressed on the other size? aka unzipped...
> 
> http://danconia.org
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
> 
> 
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to