10139N/A<!
DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
10139N/A<!
ENTITY suncopy "Copyright (c) 2004, Sun Microsystems, Inc. All Rights Reserved.">
10139N/A<?
Pub EntList brvbar bull cross dash diam diams frac12 frac13 frac14 hellip 10139N/A laquo lArr loz mdash nabla ndash para pound rArr raquo sect yen percnt>
10139N/A<
refmeta><
refentrytitle>TIFFcodec</
refentrytitle><
manvolnum>3tiff</
manvolnum>
10139N/A<
refmiscinfo class="date">01 Apr 2004</
refmiscinfo>
10139N/A<
refmiscinfo class="sectdesc">&man3;</
refmiscinfo>
10139N/A<
refmiscinfo class="software">&release;</
refmiscinfo>
10139N/A<
refmiscinfo class="arch">generic</
refmiscinfo>
10139N/A<
refmiscinfo class="copyright">&suncopy;</
refmiscinfo>
10139N/A<
indexterm><
primary>TIFFFindCODEC</
primary></
indexterm><
indexterm><
primary>
10139N/ATIFFRegisterCODEC</
primary></
indexterm><
indexterm><
primary>TIFFUnRegisterCODEC
10139N/A</
primary></
indexterm><
indexterm><
primary>codec-related utility routines</
primary>
10139N/A<
refnamediv id="TIFFcodec-3tiff-name"><
refdescriptor>TIFFcodec<?
Pub Caret></
refdescriptor>
10139N/A<
refname>TIFFFindCODEC</
refname><
refname>TIFFRegisterCODEC</
refname><
refname>
10139N/ATIFFUnRegisterCODEC</
refname><
refpurpose>codec-related utility routines</
refpurpose>
10139N/A<
refsect1 id="TIFFcodec-3tiff-synp"><
title>&synp-tt;</
title>
10139N/Aconst TIFFCodec* TIFFFindCODEC(uint16 scheme);
10139N/ATIFFCodec* TIFFRegisterCODEC(uint16 scheme, const char*
10139N/Avoid TIFFUnRegisterCODEC(TIFFCodec* codec);</
programlisting>
10139N/A<
refsect1 id="TIFFcodec-3tiff-desc"><
title>&desc-tt;</
title>
10139N/A<
para><
literal>libtiff</
literal> supports a variety of compression schemes
10139N/Aimplemented by software codecs. Each codec adheres to a modular interface
10139N/Athat provides for the decoding and encoding of image data, as well as some
10139N/Aother methods for initialization, setup, cleanup, and the control of default
10139N/Astrip and tile sizes. Codecs are identified by the associated value of the
10139N/ATIFF Compression tag, for example, 5 for LZW compression.</
para>
10139N/A<
refsect1 id="TIFFcodec-3tiff-exde"><
title>&exde-tt;</
title>
10139N/A<
para>The <
literal>TIFFRegisterCODEC</
literal> routine can be used to augment
10139N/Aor override the set of codecs available to an application. If the specified
10139N/Ascheme already has a registered codec, the registered codec is overridden
10139N/Aand any images with data encoded with this compression scheme are decoded
10139N/Ausing the supplied codec.</
para>
10139N/A<
refsect2 id="TIFFcodec-3tiff-exde-diags">
10139N/A<
variablelist termlength="wholeline">
10139N/A<
varlistentry><
term>No space to register compression scheme %s.</
term><
listitem>
10139N/A<
para><
literal>TIFFRegisterCODEC</
literal> was unable to allocate memory for
10139N/Athe data structures needed to register a codec.</
para>
10139N/A<
varlistentry><
term>Cannot remove compression scheme %s; not registered.</
term>
10139N/A<
listitem><
para><
literal>TIFFUnRegisterCODEC</
literal> did not locate the
10139N/Aspecified codec in the table of registered compression schemes.</
para>
10139N/A<
refsect1 id="TIFFcodec-3tiff-attr"><
title>&attr-tt;</
title>
10139N/A<
para>See <
olink targetdocent="REFMAN5" localinfo="attributes-5"><
citerefentry>
10139N/A<
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry></
olink>
10139N/Afor descriptions of the following attributes:</
para>
10139N/A<
tgroup cols="2" colsep="1" rowsep="1"><
colspec colname="COLSPEC0" colwidth="1*">
10139N/A<
colspec colname="COLSPEC1" colwidth="1*">
10139N/A<
row><
entry align="center" valign="middle">ATTRIBUTE TYPE</
entry><
entry align="center" 10139N/Avalign="middle">ATTRIBUTE VALUE</
entry></
row>
10139N/A<
row><
entry><
para>Availability</
para></
entry><
entry><
para>SUNWTiff</
para></
entry>
10139N/A<
row><
entry colname="COLSPEC0"><
para>Interface stability</
para></
entry><
entry 10139N/Acolname="COLSPEC1"><
para>Evolving</
para></
entry></
row>
10139N/A<
refsect1 id="TIFFcodec-3tiff-also"><
title>&also-tt;</
title>
10139N/A<!--Reference to another man page--> 10139N/A<!--Reference to a Help manual--> 10139N/A<
para><
citerefentry><
refentrytitle>libtiff</
refentrytitle><
manvolnum>3</
manvolnum>
10139N/A<
refsect1 id="TIFFcodec-3tiff-note"><
title>¬e-tt;</
title>
10139N/A<
para>This man page was originally written by Sam Leffler. Updated by Breda McColgan, Sun Microsystems Inc., 2004.</
para>