roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
<meta content="groff -Thtml, see www.gnu.org" name="generator">
roentgen b75cab
<meta content="text/css" name="Content-Style">
roentgen b75cab
<title>TIFF2RGBA</title>
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

TIFF2RGBA

roentgen b75cab
NAME
roentgen b75cab
SYNOPSIS
roentgen b75cab
DESCRIPTION
roentgen b75cab
OPTIONS
roentgen b75cab
SEE ALSO
roentgen b75cab
roentgen b75cab

roentgen b75cab
roentgen b75cab

NAME

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

tiff2rgba − convert a <small>TIFF</small> image to

roentgen b75cab
RGBA color space

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

SYNOPSIS

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

tiff2rgba [ options ] input.tif

roentgen b75cab
output.tif

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

DESCRIPTION

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Tiff2rgba converts a wide variety of TIFF images

roentgen b75cab
into an RGBA TIFF image. This includes the ability to
roentgen b75cab
translate different color spaces and photometric
roentgen b75cab
interpretation into RGBA, support for alpha blending, and
roentgen b75cab
translation of many different bit depths into a 32bit RGBA
roentgen b75cab
image.

roentgen b75cab
roentgen b75cab

Internally this program is implemented using the

roentgen b75cab
TIFFReadRGBAImage() function, and it suffers any
roentgen b75cab
limitations of that image. This includes limited support for
roentgen b75cab
> 8 BitsPerSample images, and flaws with some esoteric
roentgen b75cab
combinations of BitsPerSample, photometric interpretation,
roentgen b75cab
block organization and planar configuration.

roentgen b75cab
roentgen b75cab

The generated images are stripped images with four

roentgen b75cab
samples per pixel (red, green, blue and alpha) or if the
roentgen b75cab
−n flag is used, three samples per pixel (red,
roentgen b75cab
green, and blue). The resulting images are always planar
roentgen b75cab
configuration contiguous. For this reason, this program is a
roentgen b75cab
useful utility for transform exotic TIFF files into a form
roentgen b75cab
ingestible by almost any TIFF supporting software.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

OPTIONS

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="5" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−c

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Specify a compression scheme to use when writing image

roentgen b75cab
data: −c none for no compression (the default),
roentgen b75cab
−c packbits for the PackBits compression
roentgen b75cab
algorithm, −c zip for the Deflate compression
roentgen b75cab
algorithm, −c jpeg for the JPEG compression
roentgen b75cab
algorithm, and −c lzw for Lempel-Ziv &
roentgen b75cab
Welch.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−r

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Write data with a specified number of rows per strip; by

roentgen b75cab
default the number of rows/strip is selected so that each
roentgen b75cab
strip is approximately 8 kilobytes.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−b

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Process the image one block (strip/tile) at a time

roentgen b75cab
instead of by reading the whole image into memory at once.
roentgen b75cab
This may be necessary for very large images on systems with
roentgen b75cab
limited RAM.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

−n

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

Drop the alpha component from the output file, producing

roentgen b75cab
a pure RGB file. Currently this does not work if the
roentgen b75cab
−b flag is also in effect.

roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

SEE ALSO

roentgen b75cab
roentgen b75cab
roentgen b75cab
       cols="2" cellspacing="0" cellpadding="0">
roentgen b75cab
roentgen b75cab
roentgen b75cab
roentgen b75cab

tiff2bw(1), TIFFReadRGBAImage(3t),

roentgen b75cab
libtiff(3)

roentgen b75cab
roentgen b75cab

Libtiff library home page:

roentgen b75cab
http://www.remotesensing.org/libtiff/

roentgen b75cab
roentgen b75cab
roentgen b75cab

roentgen b75cab
roentgen b75cab