Hi All,
  Trying to generate some web graphics with ActivePerl 5.8 build 808 on Win32 is driving me crazy. There is no ppm for GD and none for Image::Magick. So you are left with Imager, which I have no problem with as I usually prefer Imager. But what's killing me is that after several attempts to make a jpg, I turned on the error checking and my code was fine, just that the Imager ppm on Win32 doesn't support jpg. Nor PNG, nor GIF!!! I did a report of what it can support and got:-
bmp rgb w32 pnm tga ifs raw
??? Where are the beloved web formats??
I've tested and bmp output and it worked fine. But I need to output in jpg, gif and png. Does anyone know a work around for this?? The script is going to end up on lots of different Win32 installations across the net, so I REALLY need to try and do it with the modules that come with the distribution (I know Imager doesn't, but it'll be hard enough to get them to install that).

Please oh Masters of Perl Wisdom, can you provide a solution??

Lyle Hopkins

In reply to Win32 jpeg writing woes :( by cosmicperl

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.