uG has asked for the wisdom of the Perl Monks concerning the following question:
I am using Imager to dynamically create thumbnails of jpegs. However when some images are resized it adds blocks of transparent colors over it, or even cuts off complete pieces of the images. Some images it won't even resize, which it is telling me 'Couldn't render image: Bogus DQT index 11'. But I can still view the images in photoshop, web browsers, etc.
Is this a problem with Imager or with the jpeg library it uses?
I would just use image magick to permanently create the thumbnails as they are uploaded, except every time I try to install it via cpan it errors asking for me to insert a disk (wtf?), and ppm doesn't have Catalyst::Plugin::Upload::Image::Magick::Thumbnail. ImageMagick has just been a giant pain in the ass on win32 and i'd like to avoid it.
Anyone have any ideas on the Imager problem, or any other solution I could implement? I am developing on win32 using strawberry perl 5.10.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Creating thumbnail solution help
by almut (Canon) on Mar 05, 2010 at 21:34 UTC | |
Re: Creating thumbnail solution help
by tonyc (Friar) on Mar 05, 2010 at 22:36 UTC | |
by uG (Scribe) on Mar 06, 2010 at 01:16 UTC | |
by uG (Scribe) on Mar 06, 2010 at 03:12 UTC |