Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: permagick jpg compression

by sgifford (Prior)
on Mar 20, 2007 at 03:24 UTC ( [id://605630]=note: print w/replies, xml ) Need Help??


in reply to permagick jpg compression

Try setting the quality in the Image::Magick constuctor, like this:
use constant IMAGE_QUALITY => 75; my $img = Image::Magick->new(size => $size, quality => IMAGE_QUALITY); $img->Read($image->{sourcedir}."/".$image_in); $img->Write($tmp);

I have a program written like this that seems to work. :-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://605630]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (1)
As of 2024-04-25 01:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found