home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / NETWORK / netpbm_docs.lzh / NETPBM / DOCS / ppmtogif.1 < prev    next >
Text File  |  1996-11-18  |  2KB  |  73 lines

  1. .TH ppmtogif 1 "30 June 1993"
  2. .IX ppmtogif
  3. .SH NAME
  4. ppmtogif - convert a portable pixmap into a GIF file
  5. .SH SYNOPSIS
  6. .B ppmtogif
  7. .RB [ -interlace ]
  8. .RB [ -sort ]
  9. .RB [ -map
  10. .IR mapfile ]
  11. .RB [ \-transparent
  12. .IR color ]
  13. .RI [ ppmfile ]
  14. .SH DESCRIPTION
  15. Reads a portable pixmap as input.
  16. Produces a GIF file as output.
  17. .IX GIF
  18. .SH OPTIONS
  19. .TP
  20. .B -interlace
  21. Tells the program to produce an interlaced GIF file.
  22. .TP
  23. .B -sort
  24. Produces a GIF file with a sorted color map.
  25. .TP
  26. .B -map 
  27. .I mapfile
  28.  
  29. Uses the colors found in the
  30. .I mapfile
  31. to create the colormap in the GIF file, instead of the colors from
  32. .I ppmfile.
  33. The
  34. .I mapfile
  35. can be any
  36. .I ppm
  37. file; all that matters is the colors in it. If the colors in
  38. .I ppmfile
  39. do not match those in
  40. .I mapfile
  41. , they are matched to a "best match". A (much) better result can be obtained by
  42. using the following filter in advance:
  43.  
  44. .I ppmquant
  45. -floyd -map
  46. .I mapfile
  47. .TP
  48. .B \-transparent \fIcolor\fP
  49. Mark the given color as transparent in the GIF file.  The color is specified
  50. as in
  51. .IR ppmmake (1).
  52. Note that this option outputs a GIF89a format file which might not be
  53. understood by your software.
  54. .PP
  55. All flags can be abbreviated to their shortest unique prefix.
  56. .SH "SEE ALSO"
  57. giftoppm(1), ppmquant(1), ppm(5)
  58. .SH AUTHOR
  59. Based on GIFENCOD by David Rowley <mgardi@watdcsu.waterloo.edu>.
  60. Lempel-Ziv compression based on "compress".
  61.  
  62. Copyright (C) 1989 by Jef Poskanzer.
  63. .\" Permission to use, copy, modify, and distribute this software and its
  64. .\" documentation for any purpose and without fee is hereby granted, provided
  65. .\" that the above copyright notice appear in all copies and that both that
  66. .\" copyright notice and this permission notice appear in supporting
  67. .\" documentation.  This software is provided "as is" without express or
  68. .\" implied warranty.
  69. .\"
  70. .\" The Graphics Interchange Format(c) is the Copyright property of
  71. .\" CompuServe Incorporated.  GIF(sm) is a Service Mark property of
  72. .\" CompuServe Incorporated.
  73.