gif2tiff.1 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. .\" $Id: gif2tiff.1,v 1.4 2006-04-20 12:17:19 dron Exp $
  2. .\"
  3. .\" Copyright (c) 1991-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 GIF2TIFF 1 "November 2, 2005" "libtiff"
  27. .SH NAME
  28. gif2tiff \- create a
  29. .SM TIFF
  30. file from a GIF87 format image file
  31. .SH SYNOPSIS
  32. .B gif2tiff
  33. [
  34. .I options
  35. ]
  36. .I input.gif
  37. .I output.tif
  38. .SH DESCRIPTION
  39. .I Gif2tiff
  40. converts a file in the GIF87 format to
  41. .SM TIFF.
  42. The
  43. .SM TIFF
  44. image is created as a palette image, with samples
  45. compressed with the Lempel-Ziv & Welch algorithm (\c
  46. .IR Compression =5).
  47. These characteristics can overridden, or explicitly specified
  48. with the options described below.
  49. .SH OPTIONS
  50. .TP
  51. .B \-c
  52. Specify a compression scheme to use when writing image data:
  53. .B "\-c none"
  54. for no compression,
  55. .B "\-c packbits"
  56. for the PackBits compression algorithm,
  57. .B "\-c zip"
  58. for the Deflate compression algorithm,
  59. and
  60. .B "\-c lzw"
  61. for Lempel-Ziv & Welch (the default).
  62. .TP
  63. .B \-r
  64. Write data with a specified number of rows per strip;
  65. by default the number of rows/strip is selected so that each strip
  66. is approximately 8 kilobytes.
  67. .SH NOTES
  68. The program is based on Paul Haeberli's
  69. .I fromgif
  70. program which, in turn, is based on Marcel J.E. Mol's GIF reader.
  71. .SH BUGS
  72. Should have more options to control output format.
  73. .SH "SEE ALSO"
  74. .BR pal2rgb (1),
  75. .BR tiffinfo (1),
  76. .BR tiffcp (1),
  77. .BR tiffmedian (1),
  78. .BR libtiff (3)
  79. .PP
  80. Libtiff library home page:
  81. .BR http://www.remotesensing.org/libtiff/