RA_T8(1)                                                              RA_T8(1)



NNAAMMEE
       ra_t8 - convert RADIANCE picture to/from Targa 8-bit image file

SSYYNNOOPPSSIISS
       rraa__tt88 [ --dd ][ --bb ][ --cc nnccoolloorrss ][ --gg ggaammmmaa ][ --ee ++//--ssttooppss ][ --nn ssaammppffaacc
       ] iinnppuutt [ oouuttppuutt ]
       rraa__tt88 --rr [ --gg ggaammmmaa ][ --ee ++//--ssttooppss ] [ iinnppuutt [ oouuttppuutt ] ]

DDEESSCCRRIIPPTTIIOONN
       _R_a___t_8 converts between RADIANCE  and  Targa  8-bit  color-mapped  image
       files  (type 1 in Targa's documentation).  In the default mode, a RADI-
       ANCE picture is converted to a color-mapped Targa file of the same hor-
       izontal  and  vertical dimensions with 8-bits per pixel.  The _-_d option
       turns off dithering.  The _-_b option converts the  image  to  black  and
       white.   Only  with this option can the input be taken from stdin.  The
       _-_c option allows fewer than 256 colors.  The _-_g  option  specifies  the
       exponent  used in gamma correction; the default value is 2.2.  An expo-
       nent of 1.0 turns gamma correction off.  The  _-_e  option  specifies  an
       exposure  compensation  in f-stops (powers of two).  Only integer stops
       are allowed, for efficiency.  The _-_n option specifies a sampling factor
       for  neural network color quantization.  This value should be between 1
       and 80, where 1 takes the longest and  produces  the  best  results  in
       small  areas  of  the image.  If no value is given, a faster median cut
       algorithm is used.  The _-_r option invokes a reverse conversion, from an
       8-bit Targa file to a RADIANCE picture.  If the output file is missing,
       the standard output is used.

AAUUTTHHOORRSS
       Greg Ward
       Anthony Dekker provided the code for neural network color quantization

BBUUGGSS
       Run-length encoded files can be read but not written with this program.

SSEEEE AALLSSOO
       pfilt(1),   ra_bmp(1),   ra_bn(1),   ra_ppm(1),  ra_pr(1),  ra_pr24(1),
       ra_t16(1), ra_tiff(1), ximage(1)



RADIANCE                            5/30/95                           RA_T8(1)
