Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ra_gif(1) [debian man page]

RA_GIF(1)						      General Commands Manual							 RA_GIF(1)

NAME
ra_gif - convert RADIANCE picture to Compuserve GIF SYNOPSIS
ra_gif [ -b ][ -d ][ -c ncolors ][ -g gamma ][ -e +/-stops ][ -n sampfac ] input [ output ] DESCRIPTION
Ra_gif converts from RADIANCE to Compuserve GIF color-mapped, compressed image files. In the default mode, a RADIANCE picture is converted to a color-mapped GIF file of the same horizontal and vertical dimensions with 8-bits per pixel. The -b option converts the image to black and white. The -d option turns off dithering. The -c option allows fewer than 256 colors (and fewer than 8 bits per pixel). The -g option specifies the exponent used in gamma correction; the default value is 2.2. An exponent 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 spec- ifies a sampling factor for neural network color quantization. This value should be between 1 and 80, where 1 takes the longest and pro- duces the best results in small areas of the image. If no value is given, a faster median cut algorithm is used. If the output file is missing, the standard output is used. AUTHORS
Greg Ward Paul Haeberli David Rowley Anthony Dekker provided the code for neural network color quantization SEE ALSO
pfilt(1), ra_bmp(1), ra_bn(1), ra_ppm(1), ra_pr(1), ra_pr24(1), ra_t8(1), ra_t16(1), ra_tiff(1), ximage(1) RADIANCE
6/10/94 RA_GIF(1)

Check Out this Related Man Page

RA_BMP(1)						      General Commands Manual							 RA_BMP(1)

NAME
ra_bmp - convert RADIANCE picture to/from Windows BMP image SYNOPSIS
ra_bmp [ -b ][ -g gamma ][ -e spec ][ -p xr yr xg yg xb yb xw yw ] [ [ input|- [ output ] ] ra_bmp -r [ -g gamma ][ -e +/-stops ] [ [ input|- [ output ] ] DESCRIPTION
Ra_bmp converts between RADIANCE and a Windows BMP image. During forward conversion, the -b option produces 8-bit grayscale output rather than 24-bit RGB. The -g option specifies the exponent used in monitor gamma correction; the default value is 2.2. The -e option specifies a tone-mapping method or exposure compensation. If the argument is one of the special words "auto", "human", or "linear", the image will be tone-mapped with histogram adjustment, human vision simulation, or an averaged linear exposure, respectively. (These words may be abbreviated by one or more letters.) Otherwise, the exposure specification is interpreted as a linear compensation value in integer f- stops, which must be proceeded by a '+' or '-'. The CRT color output primaries may be specified with the -p option. The -r option invokes a reverse conversion, from a Windows BMP image to a RADIANCE picture. Tone-mapping and monitor primaries are not supported for reverse conversion. Ra_bmp can accept 16-bit or color-mapped BMP files on input, but cannot not produce them on output. A hyphen ('-') may be specified to indicate standard input for either forward or reverse conversion so that an output file may be speci- fied. If the BMP input is taken from the standard input or sent to the standard output without tone-mapping, then the scanlines may be reversed from their usual ordering. Reversed scanlines sometimes causes difficulties for programs attempting to interpret the resulting RADIANCE picture or BMP image, which may be rejected or displayed inverted. AUTHOR
Greg Ward SEE ALSO
pfilt(1), ra_ppm(1), ra_pr(1), ra_pr24(1), ra_t8(1), ra_t16(1), ra_tiff(1), ximage(1) RADIANCE
3/25/04 RA_BMP(1)
Man Page