GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
TARGATORLE(1) FreeBSD General Commands Manual TARGATORLE(1)

targatorle - Convert Truevision TARGA images to RLE format.

targatorle [ -h headerfile ] [ -n nchannels ] [ -o outfile.rle ] [ infile.tga ]

Targatorle converts a file from Truevision's TARGA format into RLE format. If no input file is specified, the data is read from stdin. Targatorle recognizes (but cannot necessarily process) all of the image subtypes defined by the 1989 TARGA 2.0 specification:

0 - Header Only, No Image Data
1 - Uncompressed, Color-mapped Image
2 - Uncompressed, True-color Image
3 - Uncompressed, B/W (gray scale) Image
9 - Run-length encoded, Color-mapped Image
10 - Run-length encoded, True-color Image
11 - Run-length encoded, B/W Image

Targatorle should correctly process images in formats 0, 2, 3, 10, and 11. No support is currently available for color mapped images.

-h
Allow the program to write TARGA header information to headerfile
-n
where nchannels is 3 or 4. If input is a color image, copy only nchannels of the TARGA file; this allows the alpha channel to be stripped. By default, the alpha channel will be copied if present.
-o
Use outfile as output instead of stdout.

The TARGA image descriptor byte is ignored; therefore, the image origin is assumed to be that of RLE(5) (bottom left). None of the color-mapped TARGA formats (types 1 and 9) are supported. Finally, no attempt has been made to support extensions to the TARGA File Format introduced by Truevision in 1989 (new support for time stamps, comments, user-defined data fields, etc.).

urt(1), RLE(5).

Hann-Bin Chuang
Andrew C. Hadenfeldt, Univ. of Nebraska-Lincoln (modifications)
July 12, 1991 4th Berkeley Distribution

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.