Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Targa with Perl?

by Phaysis (Pilgrim)
on Jan 21, 2002 at 07:44 UTC ( [id://140300]=perlquestion: print w/replies, xml ) Need Help??

Phaysis has asked for the wisdom of the Perl Monks concerning the following question:

I want to read and write Truevision Targa (*.tga) files, but sadly Truevision is no longer publicly publishing SDK's or anything like that. I have a pdf with the file format specs, but after reading them I've discovered, and am discouraged by, the fact that the format is *really* intricate (as with most image formats). I searched CPAN and found the PerlMagick module which is a frontend for the ImageMagick libs. I do have a linux machine, but my image work is done on a Win32 platform.

I have ActiveState on my Winbox, so aside from hunkering down and writing my own .pm to read/write targas, is there any other route or advice anyone can offer? I suppose I could dig for the Targa MSVC++ SDK and write a Dos app to do my conversions (blech), but I barely know MSVC++ when compared to my much-deeper knowledge of Perl.

So, you can see my quandary.

There is more than one way to do it, yes, but all visible directions appear rather grim. Any help?

Thanks-
Shawn Thomas
(Ph) Phaysis

Replies are listed 'Best First'.
Re: Targa with Perl?
by trs80 (Priest) on Jan 21, 2002 at 10:03 UTC
    ImageMagick is available for Win32 and you can get the PerlMagick modules using ppm (perl package manager) with ActiveState. Just open a console and type 'ppm install image-magick' and it will install.

    Get ImageMagick binaries for different platforms at:
    ftp://ftp.simplesystems.org/pub/ImageMagick/binaries/
    or click here

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://140300]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2025-06-21 14:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.