Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Problems? Is your data what you think it is?
 
PerlMonks  

Targa with Perl?

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

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.

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 05: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
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.