libtiff.3tiff 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  1. .\" $Id: libtiff.3tiff,v 1.3 2005-11-02 11:07:19 dron Exp $
  2. .\"
  3. .\" Copyright (c) 1988-1997 Sam Leffler
  4. .\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
  5. .\"
  6. .\" Permission to use, copy, modify, distribute, and sell this software and
  7. .\" its documentation for any purpose is hereby granted without fee, provided
  8. .\" that (i) the above copyright notices and this permission notice appear in
  9. .\" all copies of the software and related documentation, and (ii) the names of
  10. .\" Sam Leffler and Silicon Graphics may not be used in any advertising or
  11. .\" publicity relating to the software without the specific, prior written
  12. .\" permission of Sam Leffler and Silicon Graphics.
  13. .\"
  14. .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
  15. .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
  16. .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  17. .\"
  18. .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
  19. .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
  20. .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
  22. .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  23. .\" OF THIS SOFTWARE.
  24. .\"
  25. .if n .po 0
  26. .TH INTRO 3TIFF "November 2, 2005" "libtiff"
  27. .SH NAME
  28. libtiff \- introduction to
  29. .IR libtiff ,
  30. a library for reading and writing
  31. .SM TIFF
  32. files
  33. .SH SYNOPSIS
  34. .B "#include <tiffio.h>"
  35. .sp
  36. cc file.c
  37. .B -ltiff
  38. .SH DESCRIPTION
  39. .I libtiff
  40. is a library for reading and writing data files encoded with the
  41. .I "Tag Image File"
  42. format, Revision 6.0 (or revision 5.0 or revision 4.0). This file format is
  43. suitable for archiving multi-color and monochromatic image data.
  44. .PP
  45. The library supports several compression algorithms, as indicated by the
  46. .I Compression
  47. field, including:
  48. no compression (1),
  49. .SM CCITT
  50. 1D Huffman compression (2),
  51. .SM CCITT
  52. Group 3 Facsimile compression (3),
  53. .SM CCITT
  54. Group 4 Facsimile compression (4),
  55. Lempel-Ziv & Welch compression (5),
  56. baseline JPEG compression (7),
  57. word-aligned 1D Huffman compression (32771),
  58. and
  59. PackBits compression (32773).
  60. In addition, several nonstandard compression algorithms are supported: the
  61. 4-bit compression algorithm used by the
  62. .I ThunderScan
  63. program (32809) (decompression only), NeXT's 2-bit compression algorithm
  64. (32766) (decompression only), an experimental LZ-style algorithm known as
  65. Deflate (32946), and an experimental CIE LogLuv compression scheme designed
  66. for images with high dynamic range (32845 for LogL and 32845 for LogLuv).
  67. Directory information may be in either little- or big-endian byte order\-byte
  68. swapping is automatically done by the library. Data bit ordering may be either
  69. Most Significant Bit (\c
  70. .SM MSB\c
  71. ) to Least Significant Bit (\c
  72. .SM LSB\c
  73. ) or
  74. .SM LSB
  75. to
  76. .SM MSB.
  77. Finally, the library does not support files in which the
  78. .IR BitsPerSample ,
  79. .IR Compression ,
  80. .IR MinSampleValue ,
  81. or
  82. .IR MaxSampleValue
  83. fields are defined differently on a per-sample basis
  84. (in Rev. 6.0 the
  85. .I Compression
  86. tag is not defined on a per-sample basis, so this is immaterial).
  87. .SH "DATA TYPES"
  88. The library makes extensive use of C typedefs to promote portability.
  89. Two sets of typedefs are used, one for communication with clients
  90. of the library and one for internal data structures and parsing of the
  91. .SM TIFF
  92. format.
  93. The following typedefs are exposed to users either through function
  94. definitions or through parameters passed through the varargs interfaces.
  95. .in +.5i
  96. .sp 5p
  97. .ta +\w'typedef unsigned <\fIthing\fP> uint32; 'u
  98. .nf
  99. typedef unsigned short uint16; 16-bit unsigned integer
  100. typedef unsigned <\fIthing\fP> uint32; 32-bit unsigned integer
  101. .sp 5p
  102. typedef unsigned int ttag_t; directory tag
  103. typedef uint16 tdir_t; directory index
  104. typedef uint16 tsample_t; sample number
  105. typedef uint32 tstrip_t; strip number
  106. typedef uint32 ttile_t; tile number
  107. typedef int32 tsize_t; i/o size in bytes
  108. typedef void* tdata_t; image data ref
  109. typedef void* thandle_t; client data handle
  110. typedef int32 toff_t; file offset
  111. .fi
  112. .sp 5p
  113. .in -.5i
  114. Note that
  115. .IR tstrip_t ,
  116. .IR ttile_t ,
  117. and
  118. .I tsize_t
  119. are constrained to be no more than 32-bit quantities by 32-bit fields they are
  120. stored in in the
  121. .SM TIFF
  122. image.
  123. Likewise
  124. .I tsample_t
  125. is limited by the 16-bit field used to store the
  126. .I SamplesPerPixel
  127. tag.
  128. .I tdir_t
  129. constrains the maximum number of
  130. .SM IFDs
  131. that may appear in an image and may be an arbitrary size (w/o penalty).
  132. .I ttag_t
  133. must be either int, unsigned int, pointer, or double because the library uses
  134. a varargs interface and
  135. .SM "ANSI C"
  136. restricts the type of the parameter before an ellipsis to be a promoted type.
  137. .I toff_t
  138. is defined as int32 because TIFF file offsets are (unsigned) 32-bit
  139. quantities. A signed value is used because some interfaces return \-1 on
  140. error. Finally, note that user-specified data references are passed as opaque
  141. handles and only cast at the lowest layers where their type is presumed.
  142. .SH "LIST OF ROUTINES"
  143. The following routines are part of the library. Consult specific manual pages
  144. for details on their operation; on most systems doing ``man function-name''
  145. will work.
  146. .sp
  147. .nf
  148. .ta \w'TIFFCheckpointDirectory'u+2n
  149. \fIName\fP \fIDescription\fP
  150. .sp 5p
  151. TIFFCheckpointDirectory writes the current state of the directory
  152. TIFFCheckTile very x,y,z,sample is within image
  153. TIFFCIELabToRGBInit initialize CIE L*a*b* 1976 to RGB conversion state
  154. TIFFCIELabToXYZ perform CIE L*a*b* 1976 to CIE XYZ conversion
  155. TIFFClientOpen open a file for reading or writing
  156. TIFFClose close an open file
  157. TIFFComputeStrip return strip containing y,sample
  158. TIFFComputeTile return tile containing x,y,z,sample
  159. TIFFCurrentDirectory return index of current directory
  160. TIFFCurrentRow return index of current scanline
  161. TIFFCurrentStrip return index of current strip
  162. TIFFCurrentTile return index of current tile
  163. TIFFDataWidth return the size of TIFF data types
  164. TIFFError library error handler
  165. TIFFFdOpen open a file for reading or writing
  166. TIFFFileName return name of open file
  167. TIFFFileno return open file descriptor
  168. TIFFFindCODEC find standard codec for the specific scheme
  169. TIFFFlush flush all pending writes
  170. TIFFFlushData flush pending data writes
  171. TIFFGetBitRevTable return bit reversal table
  172. TIFFGetField return tag value in current directory
  173. TIFFGetFieldDefaulted return tag value in current directory
  174. TIFFGetMode return open file mode
  175. TIFFGetVersion return library version string
  176. TIFFIsCODECConfigured check, whether we have working codec
  177. TIFFIsMSB2LSB return true if image data is being returned
  178. with bit 0 as the most significant bit
  179. TIFFIsTiled return true if image data is tiled
  180. TIFFIsByteSwapped return true if image data is byte-swapped
  181. TIFFNumberOfStrips return number of strips in an image
  182. TIFFNumberOfTiles return number of tiles in an image
  183. TIFFOpen open a file for reading or writing
  184. TIFFPrintDirectory print description of the current directory
  185. TIFFReadBufferSetup specify i/o buffer for reading
  186. TIFFReadDirectory read the next directory
  187. TIFFReadEncodedStrip read and decode a strip of data
  188. TIFFReadEncodedTile read and decode a tile of data
  189. TIFFReadRawStrip read a raw strip of data
  190. TIFFReadRawTile read a raw tile of data
  191. TIFFReadRGBAImage read an image into a fixed format raster
  192. TIFFReadScanline read and decode a row of data
  193. TIFFReadTile read and decode a tile of data
  194. TIFFRegisterCODEC override standard codec for the specific scheme
  195. TIFFReverseBits reverse bits in an array of bytes
  196. TIFFRGBAImageBegin setup decoder state for TIFFRGBAImageGet
  197. TIFFRGBAImageEnd release TIFFRGBAImage decoder state
  198. TIFFRGBAImageGet read and decode an image
  199. TIFFRGBAImageOK is image readable by TIFFRGBAImageGet
  200. TIFFScanlineSize return size of a scanline
  201. TIFFSetDirectory set the current directory
  202. TIFFSetSubDirectory set the current directory
  203. TIFFSetErrorHandler set error handler function
  204. TIFFSetField set a tag's value in the current directory
  205. TIFFSetWarningHandler set warning handler function
  206. TIFFStripSize returns size of a strip
  207. TIFFRawStripSize returns the number of bytes in a raw strip
  208. TIFFSwabShort swap bytes of short
  209. TIFFSwabLong swap bytes of long
  210. TIFFSwabArrayOfShort swap bytes of an array of shorts
  211. TIFFSwabArrayOfLong swap bytes of an array of longs
  212. TIFFTileRowSize return size of a row in a tile
  213. TIFFTileSize return size of a tile
  214. TIFFUnRegisterCODEC unregisters the codec
  215. TIFFVGetField return tag value in current directory
  216. TIFFVGetFieldDefaulted return tag value in current directory
  217. TIFFVSetField set a tag's value in the current directory
  218. TIFFVStripSize returns the number of bytes in a strip
  219. TIFFWarning library warning handler
  220. TIFFWriteDirectory write the current directory
  221. TIFFWriteEncodedStrip compress and write a strip of data
  222. TIFFWriteEncodedTile compress and write a tile of data
  223. TIFFWriteRawStrip write a raw strip of data
  224. TIFFWriteRawTile write a raw tile of data
  225. TIFFWriteScanline write a scanline of data
  226. TIFFWriteTile compress and write a tile of data
  227. TIFFXYZToRGB perform CIE XYZ to RGB conversion
  228. TIFFYCbCrToRGBInit initialize YCbCr to RGB conversion state
  229. TIFFYCbCrtoRGB perform YCbCr to RGB conversion
  230. .sp
  231. Auxiliary functions:
  232. _TIFFfree free memory buffer
  233. _TIFFmalloc dynamically allocate memory buffer
  234. _TIFFmemcmp compare contents of the memory buffers
  235. _TIFFmemcpy copy contents of the one buffer to another
  236. _TIFFmemset fill memory buffer with a constant byte
  237. _TIFFrealloc dynamically reallocate memory buffer
  238. .fi
  239. .SH "TAG USAGE"
  240. The table below lists the
  241. .SM TIFF
  242. tags that are recognized and handled by the library.
  243. If no use is indicated in the table, then the library
  244. reads and writes the tag, but does not use it internally.
  245. Note that some tags are meaningful only when a particular
  246. compression scheme is being used; e.g.
  247. .I Group3Options
  248. is only useful if
  249. .I Compression
  250. is set to
  251. .SM CCITT
  252. Group 3 encoding.
  253. Tags of this sort are considered
  254. .I codec-specific
  255. tags and the library does not recognize them except when the
  256. .I Compression
  257. tag has been previously set to the relevant compression scheme.
  258. .sp
  259. .nf
  260. .ta \w'TIFFTAG_JPEGTABLESMODE'u+2n +\w'Value'u+2n +\w'R/W'u+2n
  261. \fITag Name\fP \fIValue\fP \fIR/W\fP \fILibrary Use/Notes\fP
  262. .sp 5p
  263. .nf
  264. Artist 315 R/W
  265. BadFaxLines 326 R/W
  266. BitsPerSample 258 R/W lots
  267. CellLength 265 parsed but ignored
  268. CellWidth 264 parsed but ignored
  269. CleanFaxData 327 R/W
  270. ColorMap 320 R/W
  271. ColorResponseUnit 300 parsed but ignored
  272. Compression 259 R/W choosing codec
  273. ConsecutiveBadFaxLines 328 R/W
  274. Copyright 33432 R/W
  275. DataType 32996 R obsoleted by SampleFormat tag
  276. DateTime 306 R/W
  277. DocumentName 269 R/W
  278. DotRange 336 R/W
  279. ExtraSamples 338 R/W lots
  280. FaxRecvParams 34908 R/W
  281. FaxSubAddress 34909 R/W
  282. FaxRecvTime 34910 R/W
  283. FillOrder 266 R/W control bit order
  284. FreeByteCounts 289 parsed but ignored
  285. FreeOffsets 288 parsed but ignored
  286. GrayResponseCurve 291 parsed but ignored
  287. GrayResponseUnit 290 parsed but ignored
  288. Group3Options 292 R/W used by Group 3 codec
  289. Group4Options 293 R/W
  290. HostComputer 316 R/W
  291. ImageDepth 32997 R/W tile/strip calculations
  292. ImageDescription 270 R/W
  293. ImageLength 257 R/W lots
  294. ImageWidth 256 R/W lots
  295. InkNames 333 R/W
  296. InkSet 332 R/W
  297. JPEGTables 347 R/W used by JPEG codec
  298. Make 271 R/W
  299. Matteing 32995 R obsoleted by ExtraSamples tag
  300. MaxSampleValue 281 R/W
  301. MinSampleValue 280 R/W
  302. Model 272 R/W
  303. NewSubFileType 254 R/W called SubFileType in spec
  304. NumberOfInks 334 R/W
  305. Orientation 274 R/W
  306. PageName 285 R/W
  307. PageNumber 297 R/W
  308. PhotometricInterpretation 262 R/W used by Group 3 and JPEG codecs
  309. PlanarConfiguration 284 R/W data i/o
  310. Predictor 317 R/W used by LZW and Deflate codecs
  311. PrimaryChromacities 319 R/W
  312. ReferenceBlackWhite 532 R/W
  313. ResolutionUnit 296 R/W used by Group 3 codec
  314. RowsPerStrip 278 R/W data i/o
  315. SampleFormat 339 R/W
  316. SamplesPerPixel 277 R/W lots
  317. SMinSampleValue 340 R/W
  318. SMaxSampleValue 341 R/W
  319. Software 305 R/W
  320. StoNits 37439 R/W
  321. StripByteCounts 279 R/W data i/o
  322. StripOffsets 273 R/W data i/o
  323. SubFileType 255 R/W called OSubFileType in spec
  324. TargetPrinter 337 R/W
  325. Thresholding 263 R/W
  326. TileByteCounts 324 R/W data i/o
  327. TileDepth 32998 R/W tile/strip calculations
  328. TileLength 323 R/W data i/o
  329. TileOffsets 324 R/W data i/o
  330. TileWidth 322 R/W data i/o
  331. TransferFunction 301 R/W
  332. WhitePoint 318 R/W
  333. XPosition 286 R/W
  334. XResolution 282 R/W
  335. YCbCrCoefficients 529 R/W used by TIFFRGBAImage support
  336. YCbCrPositioning 531 R/W tile/strip size calulcations
  337. YCbCrSubsampling 530 R/W
  338. YPosition 286 R/W
  339. YResolution 283 R/W used by Group 3 codec
  340. .SH "PSEUDO TAGS"
  341. In addition to the normal
  342. .SM TIFF
  343. tags the library supports a collection of
  344. tags whose values lie in a range outside the valid range of
  345. .SM TIFF
  346. tags.
  347. These tags are termed
  348. .I pseud-tags
  349. and are used to control various codec-specific functions within the library.
  350. The table below summarizes the defined pseudo-tags.
  351. .sp
  352. .nf
  353. .ta \w'TIFFTAG_JPEGTABLESMODE'u+2n +\w'Codec'u+2n +\w'R/W'u+2n
  354. \fITag Name\fP \fICodec\fP \fIR/W\fP \fILibrary Use/Notes\fP
  355. .sp 5p
  356. .nf
  357. TIFFTAG_FAXMODE G3 R/W general codec operation
  358. TIFFTAG_FAXFILLFUNC G3/G4 R/W bitmap fill function
  359. TIFFTAG_JPEGQUALITY JPEG R/W compression quality control
  360. TIFFTAG_JPEGCOLORMODE JPEG R/W control colorspace conversions
  361. TIFFTAG_JPEGTABLESMODE JPEG R/W control contents of \fIJPEGTables\fP tag
  362. TIFFTAG_ZIPQUALITY Deflate R/W compression quality level
  363. TIFFTAG_PIXARLOGDATAFMT PixarLog R/W user data format
  364. TIFFTAG_PIXARLOGQUALITY PixarLog R/W compression quality level
  365. TIFFTAG_SGILOGDATAFMT SGILog R/W user data format
  366. .fi
  367. .TP
  368. .B TIFFTAG_FAXMODE
  369. Control the operation of the Group 3 codec.
  370. Possible values (independent bits that can be combined by
  371. or'ing them together) are:
  372. FAXMODE_CLASSIC
  373. (enable old-style format in which the
  374. .SM RTC
  375. is written at the end of the last strip),
  376. FAXMODE_NORTC
  377. (opposite of
  378. FAXMODE_CLASSIC;
  379. also called
  380. FAXMODE_CLASSF),
  381. FAXMODE_NOEOL
  382. (do not write
  383. .SM EOL
  384. codes at the start of each row of data),
  385. FAXMODE_BYTEALIGN
  386. (align each encoded row to an 8-bit boundary),
  387. FAXMODE_WORDALIGN
  388. (align each encoded row to an 16-bit boundary),
  389. The default value is dependent on the compression scheme; this
  390. pseudo-tag is used by the various G3 and G4 codecs to share code.
  391. .TP
  392. .B TIFFTAG_FAXFILLFUNC
  393. Control the function used to convert arrays of black and white
  394. runs to packed bit arrays.
  395. This hook can be used to image decoded scanlines in multi-bit
  396. depth rasters (e.g. for display in colormap mode)
  397. or for other purposes.
  398. The default value is a pointer to a builtin function that images
  399. packed bilevel data.
  400. .TP
  401. .B TIFFTAG_IPTCNEWSPHOTO
  402. Tag contaings image metadata per the IPTC newsphoto spec: Headline,
  403. captioning, credit, etc... Used by most wire services.
  404. .TP
  405. .B TIFFTAG_PHOTOSHOP
  406. Tag contains Photoshop captioning information and metadata. Photoshop
  407. uses in parallel and redundantly alongside IPTCNEWSPHOTO information.
  408. .TP
  409. .B TIFFTAG_JPEGQUALITY
  410. Control the compression quality level used in the baseline algorithm.
  411. Note that quality levels are in the range 0-100 with a default value of 75.
  412. .TP
  413. .B TIFFTAG_JPEGCOLORMODE
  414. Control whether or not conversion is done between
  415. RGB and YCbCr colorspaces.
  416. Possible values are:
  417. JPEGCOLORMODE_RAW
  418. (do not convert), and
  419. JPEGCOLORMODE_RGB
  420. (convert to/from RGB)
  421. The default value is JPEGCOLORMODE_RAW.
  422. .TP
  423. .B TIFFTAG_JPEGTABLESMODE
  424. Control the information written in the
  425. .I JPEGTables
  426. tag.
  427. Possible values (independent bits that can be combined by
  428. or'ing them together) are:
  429. JPEGTABLESMODE_QUANT
  430. (include quantization tables),
  431. and
  432. JPEGTABLESMODE_HUFF
  433. (include Huffman encoding tables).
  434. The default value is JPEGTABLESMODE_QUANT|JPEGTABLESMODE_HUFF.
  435. .TP
  436. .B TIFFTAG_ZIPQUALITY
  437. Control the compression technique used by the Deflate codec.
  438. Quality levels are in the range 1-9 with larger numbers yielding better
  439. compression at the cost of more computation.
  440. The default quality level is 6 which yields a good time-space tradeoff.
  441. .TP
  442. .B TIFFTAG_PIXARLOGDATAFMT
  443. Control the format of user data passed
  444. .I in
  445. to the PixarLog codec when encoding and passed
  446. .I out
  447. from when decoding.
  448. Possible values are:
  449. PIXARLOGDATAFMT_8BIT
  450. for 8-bit unsigned pixels,
  451. PIXARLOGDATAFMT_8BITABGR
  452. for 8-bit unsigned ABGR-ordered pixels,
  453. PIXARLOGDATAFMT_11BITLOG
  454. for 11-bit log-encoded raw data,
  455. PIXARLOGDATAFMT_12BITPICIO
  456. for 12-bit PICIO-compatible data,
  457. PIXARLOGDATAFMT_16BIT
  458. for 16-bit signed samples,
  459. and
  460. PIXARLOGDATAFMT_FLOAT
  461. for 32-bit IEEE floating point samples.
  462. .TP
  463. .B TIFFTAG_PIXARLOGQUALITY
  464. Control the compression technique used by the PixarLog codec.
  465. This value is treated identically to TIFFTAG_ZIPQUALITY; see the
  466. above description.
  467. .TP
  468. .B TIFFTAG_SGILOGDATAFMT
  469. Control the format of client data passed
  470. .I in
  471. to the SGILog codec when encoding and passed
  472. .I out
  473. from when decoding.
  474. Possible values are:
  475. SGILOGDATAFMT_FLTXYZ
  476. for converting between LogLuv and 32-bit IEEE floating valued XYZ pixels,
  477. SGILOGDATAFMT_16BITLUV
  478. for 16-bit encoded Luv pixels,
  479. SGILOGDATAFMT_32BITRAW and SGILOGDATAFMT_24BITRAW
  480. for no conversion of data,
  481. SGILOGDATAFMT_8BITRGB
  482. for returning 8-bit RGB data (valid only when decoding LogLuv-encoded data),
  483. SGILOGDATAFMT_FLTY
  484. for converting between LogL and 32-bit IEEE floating valued Y pixels,
  485. SGILOGDATAFMT_16BITL
  486. for 16-bit encoded L pixels,
  487. and
  488. SGILOGDATAFMT_8BITGRY
  489. for returning 8-bit greyscale data
  490. (valid only when decoding LogL-encoded data).
  491. .SH DIAGNOSTICS
  492. All error messages are directed through the
  493. .IR TIFFError
  494. routine.
  495. By default messages are directed to
  496. .B stderr
  497. in the form:
  498. .IR "module: message\en."
  499. Warning messages are likewise directed through the
  500. .IR TIFFWarning
  501. routine.
  502. .SH "SEE ALSO"
  503. .BR fax2tiff (1),
  504. .BR gif2tiff (1),
  505. .BR pal2rgb (1),
  506. .BR ppm2tiff (1),
  507. .BR rgb2ycbcr (1),
  508. .BR ras2tiff (1),
  509. .BR raw2tiff (1),
  510. .BR sgi2tiff (1),
  511. .BR tiff2bw (1),
  512. .BR tiffdither (1),
  513. .BR tiffdump (1),
  514. .BR tiffcp (1),
  515. .BR tiffcmp (1),
  516. .BR tiffgt (1),
  517. .BR tiffinfo (1),
  518. .BR tiffmedian (1),
  519. .BR tiffsplit (1),
  520. .BR tiffsv (1).
  521. .PP
  522. .BR "Tag Image File Format Specification \(em Revision 6.0" ,
  523. an Aldus Technical Memorandum.
  524. .PP
  525. .BR "The Spirit of TIFF Class F" ,
  526. an appendix to the TIFF 5.0 specification prepared by Cygnet Technologies.
  527. .PP
  528. Libtiff library home page:
  529. .BR http://www.remotesensing.org/libtiff/
  530. .SH BUGS
  531. The library does not support multi-sample images
  532. where some samples have different bits/sample.
  533. .PP
  534. The library does not support random access to compressed data
  535. that is organized with more than one row per tile or strip.