http://qs321.pair.com?node_id=495694


in reply to Generate small .jpeg file thumbnails using Image Magick

... or just use any of the many, many Thumbnail modules on CPAN ...

--
b10m

All code is usually tested, but rarely trusted.
  • Comment on Re: Generate small .jpeg file thumbnails using Image Magick

Replies are listed 'Best First'.
Re^2: Generate small .jpeg file thumbnails using Image Magick
by GrandFather (Saint) on Sep 28, 2005 at 11:11 UTC

    In true snippet fashion this trivial chunk of code represents something that took about three days to resolve with a lot of discussion in the CB. The bottom line is that by changing a ->Resize to a ->Thumbnail in this code I get much smaller files. The Image Magick docs do not lead you by the hand to discover this sort of thing!


    Perl is Huffman encoded by design.