in reply to Image::Magick - thumbnail compression question
You might consider using JPGs and reducing the quality until the size is sufficiently reduced.
By the way, thumbnails are easier than you show. To make a thumbnail that is 50%:
or to make a thumbnail that is less than 100x100 (in both directions), proportionally reduced (that is, if it's 400x200 originally, it'll be 100x50 when you're done):my $thumb = $src->Clone; $thumb->scale(Geometry => '50%');
It just Does The Right Thing.my $thumb = $src->Clone; $thumb->scale(Geometry => '100x100');
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: •Re: Image::Magick - thumbnail compression question
by crenz (Priest) on Apr 22, 2003 at 08:56 UTC |