flyingmoose wrote:
I would not just copy and paste the code you need. Create a local directory on your machine and save the CPAN files (which should be available in an archive format) on your hard drive or locker space or whatever is the easiest.

Right. This is the right answer nearly all the time, I think. In this case particularly, modules that deal with images are very complex, usually use xsubs, and so on. Cutting-and-pasting is not likely to work out well.

One question I have (for the OP) is "why targa (.tga)?" That's one of the odder and more difficult formats to work with. GD supports PNG (IMHO, the best format for this case), JPEG and so forth, and PerlMagick/ImageMagick.pm supports .tga and many others, but is much more difficult to install than GD. For starters I would recommend working in the PNG format, doing any pre-conversion of .tga to .png necessary.

    Soren A / somian / perlspinr / Intrepid

-- 
Cynicism is not "cool" or "hip" or "intelligent". It's like Saddam Hussein's piss mixed
with 004 grit and nitric acid. It's corrosive to everything it touches, destructive to
human endeavors, foul and disgusting. And ultimately will eat away the insides of the
person who nurtures it.

In reply to Re: [1] How to Teach artists Perl w/out Modules by Intrepid
in thread How to Teach artists Perl w/out Modules by teknomage1

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.