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.


In reply to Creating thumbnail solution help by uG

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.