tiffcrop.1 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
  1. .\" tiffcrop -- a port of tiffcp.c extended to include extended processing of images
  2. .\"
  3. .\" Original code:
  4. .\"
  5. .\" Copyright (c) 1988-1997 Sam Leffler
  6. .\" Copyright (c) 1991-1997 Silicon Graphics, Inc.
  7. .\"
  8. .\" Permission to use, copy, modify, distribute, and sell this software and
  9. .\" its documentation for any purpose is hereby granted without fee, provided
  10. .\" that (i) the above copyright notices and this permission notice appear in
  11. .\" all copies of the software and related documentation, and (ii) the names of
  12. .\" Sam Leffler and Silicon Graphics may not be used in any advertising or
  13. .\" publicity relating to the software without the specific, prior written
  14. .\" permission of Sam Leffler and Silicon Graphics.
  15. .\"
  16. .\" THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
  17. .\" EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
  18. .\" WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  19. .\"
  20. .\" IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
  21. .\" ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
  22. .\" OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  23. .\" WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
  24. .\" LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  25. .\" OF THIS SOFTWARE.
  26. .\"
  27. .\" Additional code Copyright (c) 2006-2009 Richard Nolde
  28. .\" Lasted Updated 9/2009
  29. .\" .if n .po 0
  30. .TH "TIFFCROP" "1" "December, 2008" "libtiff" ""
  31. .SH "NAME"
  32. tiffcrop \- select, copy, crop, convert, extract, and/or process one or more
  33. .SM TIFF
  34. files.
  35. .SH "SYNOPSIS"
  36. .B tiffcrop
  37. [
  38. .I options
  39. ]
  40. .I "src1.tif ... srcN.tif dst.tif"
  41. .SH "DESCRIPTION"
  42. .I Tiffcrop
  43. processes one or more files created according
  44. to the Tag Image File Format, Revision 6.0, specification
  45. into one or more
  46. .SM TIFF
  47. file(s).
  48. .I Tiffcrop
  49. is most often used to extract portions of an image for processing
  50. with bar code recognizer or OCR software when that software cannot
  51. restrict the region of interest to a specific portion of the image
  52. or to improve efficiency when the regions of interest must be rotated.
  53. It can also be used to subdivide all or part of a processed image into
  54. smaller sections and export individual images or sections of images
  55. as separate files or separate images within one or more files derived
  56. from the original input image or images.
  57. .PP
  58. The available functions can be grouped broadly into three classes:
  59. .IP
  60. Those that select individual images or sections of images from the input files.
  61. The options \-N for sequences or lists of individual images in the input files,
  62. \-Z for zones, \-z for regions, \-X and \-Y for fixed sized selections,
  63. \-m for margins, \-U for units, and \-E for edge reference provide a variety of
  64. ways to specify portions of the input image.
  65. .IP
  66. Those that allow the individual images or selections to be exported to one or
  67. more output files in different groupings and control the organization of the
  68. data in the output images. The options \-P for page size grouping, \-S for
  69. subdivision into columns and rows and \-e for export mode options that produce
  70. one or more files from each input image. The options \-r, \-s, \-t, \-w control
  71. strip and tile format and sizes while \-B \-L \-c \-f modify the endian addressing
  72. scheme, the compression options, and the bit fill sequence of images as they
  73. are written.
  74. .IP
  75. Those that perform some action on each image that is selected from the input file.
  76. The options include \-R for rotate, \-I for inversion of the photometric
  77. interpretation and/or data values, and \-F to flip (mirror) the image horizontally
  78. or vertically.
  79. .PP
  80. Functions are applied to the input image(s) in the following order:
  81. cropping, fixed area extraction, zone and region extraction,
  82. inversion, mirroring, rotation.
  83. .PP
  84. Functions are applied to the output image(s) in the following order:
  85. export mode options for grouping zones, regions, or images into
  86. one or more files,
  87. .I or
  88. row and column divisions with output margins,
  89. .I or
  90. page size divisions with page orientation options.
  91. .PP
  92. Finally, strip, tile, byte order, output resolution, and compression options are
  93. applied to all output images.
  94. .PP
  95. The output file(s) may be organized and compressed using a different
  96. algorithm from the input files.
  97. By default,
  98. .I tiffcrop
  99. will copy all the understood tags in a
  100. .SM TIFF
  101. directory of an input file to the associated directory in the output file.
  102. Options can be used to force the resultant image to be written as strips
  103. or tiles of data, respectively.
  104. .PP
  105. .I Tiffcrop
  106. can be used to reorganize the storage characteristics of data
  107. in a file, and to reorganize, extract, rotate, and otherwise
  108. process the image data as specified at the same time whereas
  109. tiffcp does not alter the image data within the file.
  110. .PP
  111. Using the options for selecting individual input images and the
  112. options for exporting images and/or segments defined as zones or
  113. regions of each input image,
  114. .I tiffcrop
  115. can perform the functions of tiffcp and tiffsplit in a single pass
  116. while applying multiple operations to individual selections or images.
  117. .PP
  118. .SH "OPTIONS"
  119. .TP
  120. .B \-h
  121. Display the syntax summary for tiffcrop.
  122. .TP
  123. .B \-v
  124. Report the current version and last modification date for tiffcrop.
  125. .TP
  126. .B \-N odd|even|#,#\-#,#|last
  127. Specify one or more series or range(s) of images within each file to process.
  128. The words
  129. .B odd
  130. or
  131. .B even
  132. may be used to specify all odd or even numbered images counting from one.
  133. Note that internally, TIFF images are numbered from zero rather than one
  134. but since this convention is not obvious to most users, tiffcrop used 1
  135. to specify the first image in a multipage file. The word
  136. .B last
  137. may be used in place of a number in the sequence to indicate the
  138. final image in the file without knowing how many images there are.
  139. Ranges of images may be specified with a dash and multiple sets
  140. can be indicated by joining them in a comma\-separated list. eg. use
  141. .B \-N 1,5\-7,last
  142. to process the 1st, 5th through 7th, and final image in the file.
  143. .TP
  144. .B \-E top|bottom|left|right
  145. Specify the top, bottom, left, or right edge as the reference from
  146. which to calculate the width and length of crop regions or sequence
  147. of positions for zones. When used with the \-e option for exporting
  148. zones or regions, the reference edge determines how composite images
  149. are arranged. Using \-E left or right causes successive zones or
  150. regions to be merged horizontally whereas using \-E top or bottom
  151. causes successive zones or regions to be arranged vertically. This
  152. option has no effect on export layout when multiple zones or regions
  153. are not being exported to composite images. Edges may be abbreviated
  154. to the first letter.
  155. .TP
  156. .B \-e combined|divided|image|multiple|separate
  157. Specify the export mode for images and selections from input images.
  158. The final filename on the command line is considered to be the
  159. destination file or filename stem for automatically generated
  160. sequences of files. Modes may be abbreviated to the first letter.
  161. .IP
  162. combined All images and selections are written to a single file with
  163. multiple selections from one image combined into a single image (default)
  164. .IP
  165. divided All images and selections are written to a single file
  166. with each selection from one image written to a new image
  167. .IP
  168. image Each input image is written to a new file (numeric filename sequence)
  169. with multiple selections from the image combined into one image
  170. .IP
  171. multiple Each input image is written to a new file (numeric filename sequence)
  172. with each selection from the image written to a new image
  173. .IP
  174. separate Individual selections from each image are written to separate files
  175. .TP
  176. .B \-U in|cm|px
  177. Specify the type of units to apply to dimensions for margins and
  178. crop regions for input and output images. Inches or centimeters
  179. are converted to pixels using the resolution unit specified in the
  180. TIFF file (which defaults to inches if not specified in the IFD).
  181. .TP
  182. .B \-m #,#,#,#
  183. Specify margins to be removed from the input image. The order must
  184. be top, left, bottom, right with only commas separating the elements
  185. of the list. Margins are scaled according to the current units and
  186. removed before any other extractions are computed..
  187. .TP
  188. .B \-X #
  189. Set the horizontal (X\-axis) dimension of a region to extract relative to
  190. the specified origin reference. If the origin is the top or bottom
  191. edge, the X axis value will be assumed to start at the left edge.
  192. .TP
  193. .B \-Y #
  194. Set the vertical (Y\-axis) dimension of a region to extract relative to
  195. the specified origin reference. If the origin is the left or right
  196. edge, the Y axis value will be assumed to start at the top.
  197. .TP
  198. .B \-Z #:#,#:#
  199. Specify zones of the image designated as position X of Y equal sized portions
  200. measured from the reference edge, eg 1:3 would be first third of the
  201. image starting from the reference edge minus any margins specified
  202. for the confining edges. Multiple zones can be specified as a comma
  203. separated list but they must reference the same edge. To extract the
  204. top quarter and the bottom third of an image you would use
  205. .B \-Z 1:4,3:3.
  206. .TP
  207. .B \-z x1,y1,x2,y2: ... :xN,yN,xN+1,yN+1
  208. Specify a series of coordinates to define regions for processing and exporting.
  209. The coordinates represent the top left and lower right corners of each region
  210. in the current units, eg inch, cm, or pixels. Pixels are counted from one to
  211. width or height and inches or cm are calculated from image resolution data.
  212. Each colon delimited series of four values represents the horizontal and vertical
  213. offsets from the top and left edges of the image, regardless of the edge specified
  214. with the \-E option. The first and third values represent the horizontal offsets of
  215. the corner points from the left edge while the second and fourth values represent
  216. the vertical offsets from the top edge.
  217. .TP
  218. .B \-F horiz|vert
  219. Flip, ie mirror, the image or extracted region horizontally or vertically.
  220. .TP
  221. .B \-R 90|180|270
  222. Rotate the image or extracted region 90, 180, or 270 degrees clockwise.
  223. .TP
  224. .B \\-I [black|white|data|both]
  225. Invert color space, eg dark to light for bilevel and grayscale images.
  226. This can be used to modify negative images to positive or to correct
  227. images that have the PHOTOMETRIC_INTERPRETATIN tag set incorrectly.
  228. If the value is black or white, the PHOTOMETRIC_INTERPRETATION tag is set to
  229. MinIsBlack or MinIsWhite, without altering the image data. If the argument
  230. is data or both, the data values of the image are modified. Specifying both
  231. inverts the data and the PHOTOMETRIC_INTERPRETATION tag, whereas using data
  232. inverts the data but not the PHOTOMETRIC_INTERPRETATION tag.
  233. No support for modifying the color space of color images in this release.
  234. .TP
  235. .B \-H #
  236. Set the horizontal resolution of output images to #
  237. expressed in the current units.
  238. .TP
  239. .B \-V #
  240. Set the vertical resolution of the output images to #
  241. expressed in the current units.
  242. .TP
  243. .B \-J #
  244. Set the horizontal margin of an output page size to #
  245. expressed in the current units when sectioning image into columns x rows
  246. subimages using the \-S cols:rows option.
  247. .TP
  248. .B \-K #
  249. Set the vertical margin of an output page size to #
  250. expressed in the current units when sectioning image into columns x rows
  251. submiages using the \-S cols:rows option.
  252. .TP
  253. .B \-O portrait|landscape|auto
  254. Set the output orientation of the pages or sections.
  255. Auto will use the arrangement that requires the fewest pages.
  256. This option is only meaningful in conjunction with the -P
  257. option to format an image to fit on a specific paper size.
  258. .TP
  259. .B \-P page
  260. Format the output images to fit on page size paper. Use
  261. \-P list to show the supported page sizes and dimensions.
  262. You can define a custom page size by entering the width and length of the
  263. page in the current units with the following format #.#x#.#.
  264. .TP
  265. .B \-S cols:rows
  266. Divide each image into cols across and rows down equal sections.
  267. .TP
  268. .B \-B
  269. Force output to be written with Big\-Endian byte order.
  270. This option only has an effect when the output file is created or
  271. overwritten and not when it is appended to.
  272. .TP
  273. .B \-C
  274. Suppress the use of ``strip chopping'' when reading images
  275. that have a single strip/tile of uncompressed data.
  276. .TP
  277. .B \-c
  278. Specify the compression to use for data written to the output file:
  279. .B none
  280. for no compression,
  281. .B packbits
  282. for PackBits compression,
  283. .B lzw
  284. for Lempel\-Ziv & Welch compression,
  285. .B jpeg
  286. for baseline JPEG compression.
  287. .B zip
  288. for Deflate compression,
  289. .B g3
  290. for CCITT Group 3 (T.4) compression,
  291. and
  292. .B g4
  293. for CCITT Group 4 (T.6) compression.
  294. By default
  295. .I tiffcrop
  296. will compress data according to the value of the
  297. .I Compression
  298. tag found in the source file.
  299. .IP
  300. The
  301. .SM CCITT
  302. Group 3 and Group 4 compression algorithms can only
  303. be used with bilevel data.
  304. .IP
  305. Group 3 compression can be specified together with several
  306. T.4\-specific options:
  307. .B 1d
  308. for 1\-dimensional encoding,
  309. .B 2d
  310. for 2\-dimensional encoding,
  311. and
  312. .B fill
  313. to force each encoded scanline to be zero\-filled so that the
  314. terminating EOL code lies on a byte boundary.
  315. Group 3\-specific options are specified by appending a ``:''\-separated
  316. list to the ``g3'' option; e.g.
  317. .B "\-c g3:2d:fill"
  318. to get 2D\-encoded data with byte\-aligned EOL codes.
  319. .IP
  320. .SM LZW
  321. compression can be specified together with a
  322. .I predictor
  323. value.
  324. A predictor value of 2 causes
  325. each scanline of the output image to undergo horizontal
  326. differencing before it is encoded; a value
  327. of 1 forces each scanline to be encoded without differencing.
  328. LZW\-specific options are specified by appending a ``:''\-separated
  329. list to the ``lzw'' option; e.g.
  330. .B "\-c lzw:2"
  331. for
  332. .SM LZW
  333. compression with horizontal differencing.
  334. .TP
  335. .B \-f
  336. Specify the bit fill order to use in writing output data.
  337. By default,
  338. .I tiffcrop
  339. will create a new file with the same fill order as the original.
  340. Specifying
  341. .B "\-f lsb2msb"
  342. will force data to be written with the FillOrder tag set to
  343. .SM LSB2MSB,
  344. while
  345. .B "\-f msb2lsb"
  346. will force data to be written with the FillOrder tag set to
  347. .SM MSB2LSB.
  348. .TP
  349. .B \-i
  350. Ignore non\-fatal read errors and continue processing of the input file.
  351. .TP
  352. .B "\-k size"
  353. Set maximum memory allocation size (in MiB). The default is 256MiB.
  354. Set to 0 to disable the limit.
  355. .TP
  356. .B \-l
  357. Specify the length of a tile (in pixels).
  358. .I Tiffcrop
  359. attempts to set the tile dimensions so
  360. that no more than 8 kilobytes of data appear in a tile.
  361. .TP
  362. .B \-L
  363. Force output to be written with Little\-Endian byte order.
  364. This option only has an effect when the output file is created or
  365. overwritten and not when it is appended to.
  366. .TP
  367. .B \-M
  368. Suppress the use of memory\-mapped files when reading images.
  369. .TP
  370. .B \-p
  371. Specify the planar configuration to use in writing image data
  372. that has more than one sample per pixel.
  373. By default,
  374. .I tiffcrop
  375. will create a new file with the same planar configuration as
  376. the original.
  377. Specifying
  378. .B "\-p contig"
  379. will force data to be written with multi\-sample data packed
  380. together, while
  381. .B "\-p separate"
  382. will force samples to be written in separate planes.
  383. .TP
  384. .B \-r
  385. Specify the number of rows (scanlines) in each strip of data
  386. written to the output file.
  387. By default (or when value
  388. .B 0
  389. is specified),
  390. .I tiffcrop
  391. attempts to set the rows/strip that no more than 8 kilobytes of
  392. data appear in a strip. If you specify the special value
  393. .B \-1
  394. it will results in infinite number of the rows per strip. The entire image
  395. will be the one strip in that case.
  396. .TP
  397. .B \-s
  398. Force the output file to be written with data organized in strips
  399. (rather than tiles).
  400. .TP
  401. .B \-t
  402. Force the output file to be written with data organized in tiles
  403. (rather than strips).
  404. .TP
  405. .B \-w
  406. Specify the width of a tile (in pixels).
  407. .I tiffcrop
  408. attempts to set the tile dimensions so
  409. that no more than 8 kilobytes of data appear in a tile.
  410. .I tiffcrop
  411. attempts to set the tile dimensions so
  412. that no more than 8 kilobytes of data appear in a tile.
  413. .TP
  414. Debug and dump facility
  415. .B \-D opt1:value1,opt2:value2,opt3:value3:opt4:value4
  416. Display program progress and/or dump raw data to non\-TIFF files.
  417. Options include the following and must be joined as a comma
  418. separated list. The use of this option is generally limited to
  419. program debugging and development of future options. An equal sign
  420. may be substituted for the colon in option:value pairs.
  421. .IP
  422. debug:N Display limited program progress indicators where larger N
  423. increase the level of detail.
  424. .IP
  425. format:txt|raw Format any logged data as ASCII text or raw binary
  426. values. ASCII text dumps include strings of ones and zeroes representing
  427. the binary values in the image data plus identifying headers.
  428. .IP
  429. level:N Specify the level of detail presented in the dump files.
  430. This can vary from dumps of the entire input or output image data to dumps
  431. of data processed by specific functions. Current range of levels is 1 to 3.
  432. .IP
  433. input:full\-path\-to\-directory/input\-dumpname
  434. .IP
  435. output:full\-path\-to\-directory/output\-dumpname
  436. .IP
  437. When dump files are being written, each image will be written to a separate
  438. file with the name built by adding a numeric sequence value to the dumpname
  439. and an extension of .txt for ASCII dumps or .bin for binary dumps.
  440. The four debug/dump options are independent, though it makes little sense to
  441. specify a dump file without specifying a detail level.
  442. .IP
  443. Note: Tiffcrop may be compiled with -DDEVELMODE to enable additional very
  444. low level debug reporting.
  445. .SH "EXAMPLES"
  446. The following concatenates two files and writes the result using
  447. .SM LZW
  448. encoding:
  449. .RS
  450. .nf
  451. tiffcrop \-c lzw a.tif b.tif result.tif
  452. .fi
  453. .RE
  454. .PP
  455. To convert a G3 1d\-encoded
  456. .SM TIFF
  457. to a single strip of G4\-encoded data the following might be used:
  458. .RS
  459. .nf
  460. tiffcrop \-c g4 \-r 10000 g3.tif g4.tif
  461. .fi
  462. .RE
  463. (1000 is just a number that is larger than the number of rows in
  464. the source file.)
  465. To extract a selected set of images from a multi\-image TIFF file
  466. use the \-N option described above. Thus, to copy the 1st and 3rd
  467. images of image file "album.tif" to "result.tif":
  468. .RS
  469. .nf
  470. tiffcrop \-N 1,3 album.tif result.tif
  471. .fi
  472. .RE
  473. .PP
  474. Invert a bilevel image scan of a microfilmed document and crop off margins of
  475. 0.25 inches on the left and right, 0.5 inch on the top, and 0.75 inch on the
  476. bottom. From the remaining portion of the image, select the second and third
  477. quarters, ie, one half of the area left from the center to each margin.
  478. .RS
  479. tiffcrop \-U in \-m 0.5,0.25,0.75,0.25 \-E left \-Z 2:4,3:4 \-I both MicrofilmNegative.tif MicrofilmPostiveCenter.tif
  480. .fi
  481. .RE
  482. .PP
  483. Extract only the final image of a large Architectural E sized
  484. multipage TIFF file and rotate it 90 degrees clockwise while
  485. reformatting the output to fit on tabloid sized sheets with one
  486. quarter of an inch on each side:
  487. .RS
  488. tiffcrop \-N last \-R 90 \-O auto \-P tabloid \-U in \-J 0.25 \-K 0.25 \-H 300 \-V 300 Big\-PlatMap.tif BigPlatMap\-Tabloid.tif
  489. .fi
  490. .RE
  491. The output images will have a specified resolution of 300 dpi in both
  492. directions. The orientation of each page will be determined by whichever
  493. choice requires the fewest pages. To specify a specific orientation, use
  494. the portrait or landscape option. The paper size option does not resample
  495. the image. It breaks each original image into a series of smaller images
  496. that will fit on the target paper size at the specified resolution.
  497. .fi
  498. .RE
  499. .PP
  500. Extract two regions 2048 pixels wide by 2048 pixels high from each page of
  501. a multi\-page input file and write each region to a separate output file.
  502. .RS
  503. tiffcrop \-U px \-z 1,1,2048,2048:1,2049,2048,4097 \-e separate CheckScans.tiff Check
  504. .fi
  505. .RE
  506. The output file names will use the stem Check with a numeric suffix which is
  507. incremented for each region of each image, eg Check\-001.tiff, Check\-002.tiff ...
  508. Check\-NNN.tiff. To produce a unique file for each page of the input image
  509. with one new image for each region of the input image on that page, change
  510. the export option to \-e multiple.
  511. .SH "NOTES"
  512. .PP
  513. In general, bilevel, grayscale, palette and RGB(A) data with bit depths
  514. from 1 to 32 bits should work in both interleaved and separate plane
  515. formats. Unlike tiffcp, tiffcrop can read and write tiled images with
  516. bits per sample that are not a multiple of 8 in both interleaved and
  517. separate planar format. Floating point data types are supported at
  518. bit depts of 16, 24, 32 and 64 bits per sample.
  519. .PP
  520. Not all images can be converted from one compression scheme to another.
  521. Data with some photometric interpretations and/or bit depths are tied to
  522. specific compression schemes and vice-versa, e.g. Group 3/4 compression
  523. is only usable for bilevel data. JPEG compression is only usable on 8
  524. bit per sample data (or 12 bit if
  525. .I LibTIFF
  526. was compiled with 12 bit JPEG support). Support for OJPEG compressed
  527. images is problematic at best. Since OJPEG compression is no longer
  528. supported for writing images with LibTIFF, these images will be updated
  529. to the newer JPEG compression when they are copied or processed. This
  530. may cause the image to appear color shifted or distorted after conversion.
  531. In some cases, it is possible to remove the original compression from
  532. image data using the option -cnone.
  533. .PP
  534. Tiffcrop does not currently provide options to up or downsample data to
  535. different bit depths or convert data from one photometric interpretation
  536. to another, e.g. 16 bits per sample to 8 bits per sample or RGB to grayscale.
  537. .PP
  538. Tiffcrop is very loosely derived from code in
  539. .I tiffcp
  540. with extensive modifications and additions to support the selection of input
  541. images and regions and the exporting of them to one or more output files in
  542. various groupings. The image manipulation routines are entirely new and
  543. additional ones may be added in the future. It will handle tiled images with
  544. bit depths that are not a multiple of eight that tiffcp may refuse to read.
  545. .PP
  546. .I Tiffcrop
  547. was designed to handle large files containing many moderate sized images
  548. with memory usage that is independent of the number of images in the file.
  549. In order to support compression modes that are not based on individual
  550. scanlines, e.g. JPEG, it now reads images by strip or tile rather than by
  551. individual scanlines. In addition to the memory required by the input and
  552. output buffers associated with
  553. .I LibTIFF
  554. one or more buffers at least as large as the largest image to be read are
  555. required. The design favors large volume document processing uses over
  556. scientific or graphical manipulation of large datasets as might be found
  557. in research or remote sensing scenarios.
  558. .SH "SEE ALSO"
  559. .BR pal2rgb (1),
  560. .BR tiffinfo (1),
  561. .BR tiffcmp (1),
  562. .BR tiffcp (1),
  563. .BR tiffmedian (1),
  564. .BR tiffsplit (1),
  565. .BR libtiff (3TIFF)
  566. .PP
  567. Libtiff library home page:
  568. .BR http://www.simplesystems.org/libtiff/