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 / pnmtoddif.1 < prev    next >
Text File  |  1996-11-18  |  2KB  |  44 lines

  1. .TH pnmtoddif 1
  2. .SH Name
  3. pnmtoddif \- Convert a portable anymap to DDIF format
  4. .SH Syntax
  5. .B pnmtoddif 
  6. pnmtoddif [-resolution x y] [pnmfile [ddiffile]]
  7. .SH OPTIONS
  8. .IP "\fIresolution x y\fR" 15
  9. The horizontal and vertical resolution of the output
  10. image in dots per inch. Defaults to 78 dpi.
  11. .IP \fIpnmfile\fR 15
  12. The filename for the image file in pnm format.  If this 
  13. argument is omitted, input is read from stdin.
  14. .IP \fIddiffile\fR 15
  15. The filename for the image file to be created in DDIF format.
  16. If this argument is omitted, the ddiffile is written to standard
  17. output. It can only specified if a pnmfile is also specified.
  18. .SH DESCRIPTION
  19. \f(CWpnmtoddif\f1 
  20. takes a portable anymap from standard input
  21. and converts it into a DDIF image file on standard
  22. output or the specified DDIF file.
  23. .PP
  24. pbm format (bitmap) data is written as 1 bit DDIF, pgm format
  25. data (greyscale) as 8 bit greyscale DDIF, and ppm format data
  26. is written as 8,8,8 bit color DDIF. All DDIF image files
  27. are written as uncompressed. The data plane
  28. organization is interleaved by pixel.
  29. .PP
  30. In addition to the number of pixels in the width and height 
  31. dimension, DDIF images also carry information about the 
  32. size that the image should have, that is, the physical space 
  33. that a pixel occupies. PBMPLUS images do not carry this
  34. information, hence it has to be externally supplied.
  35. The default of 78 dpi has the 
  36. beneficial property of not causing a resize on most Digital 
  37. Equipment Corporation color monitors.
  38. .SH AUTHOR
  39. Burkhard Neidecker-Lutz
  40. .br
  41. Digital Equipment Corporation, CEC Karlsruhe
  42. .br
  43. neideck@nestvx.enet.dec.com
  44.