home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / grafik / jpeg20 / djpeg.man < prev    next >
Encoding:
Text File  |  1992-02-12  |  2.6 KB  |  88 lines

  1. DJPEG 1 "11 December 1991"
  2.  
  3. NAME
  4. djpeg - decompress a JPEG file to an image file
  5.  
  6. SYNOPSIS
  7. djpeg [-GPRTbgD2d] [-q " N"] [filename]
  8.  
  9. DESCRIPTION
  10.  
  11. djpeg decompresses the named JPEG file, or the standard input if no file
  12. is named, and produces an image file on the standard output.  PPM, GIF,
  13. Targa, or RLE output format can be selected.  (RLE is supported only if
  14. the URT library is available.)
  15.  
  16. The color quantization algorithm is currently shoddy.  Because of this, the
  17. GIF output mode is not recommended in the current release, except for
  18. gray-scale output (obtained with -g).
  19.  
  20. OPTIONS
  21.  
  22. -G
  23. Select GIF output format (implies -q ,with default of 256 colors).
  24. Currently the color quantization uses a shoddy algorithm and external
  25. quantization (e.g. ppmquant, rlequant ) is recommended before conversion
  26. to GIF format.
  27.  
  28. -P
  29. Select PPM or PGM output format (this is the default).  PGM is emitted if
  30. the JPEG file is gray-scale or if -g is specified.
  31.  
  32. -R
  33. Select RLE output format.  Requires URT library.
  34.  
  35. -T
  36. Select Targa output format.  Gray-scale format is emitted if the JPEG file is
  37. gray-scale or if -g is specified; otherwise, colormapped format is emitted if
  38. -q is specified; otherwise, 24-bit full-color format is emitted.
  39.  
  40. -b
  41. Perform cross-block smoothing.  This is quite memory-intensive and only seems
  42. to improve the image at low quality settings (-Q 10 to 20 or so).
  43. At normal -Q settings it may make the image worse.
  44.  
  45. -g
  46. Force gray-scale output even if input is color.
  47.  
  48. -q " N"
  49. Quantize to N colors.
  50.  
  51. -D
  52. Do not use dithering in color quantization.  By default, Floyd-Steinberg
  53. dithering is applied when quantizing colors, but on some images dithering may
  54. result in objectionable "graininess".  If that happens, you can turn off
  55. dithering with -D.
  56.  
  57. -2
  58. Use two-pass color quantization (not yet supported).
  59.  
  60. -d
  61. Enable debug printout.  More -d's give more output.  Also, version
  62. information is printed at startup.
  63.  
  64. EXAMPLES
  65.  
  66. This example decompresses the JPEG file foo.jpg and saves the output
  67. as a gray-scale image in foo.pgm:
  68.  
  69.         djpeg -g foo.jpg >foo.pgm
  70.  
  71. SEE ALSO
  72. cjpeg (1) ppmquant (1) [From the PBMplus distribution]
  73. rlequant (1) [From the Utah Raster Toolkit distribution]
  74.  
  75. Wallace, Gregory K.  "The JPEG Still Picture Compression Standard",
  76. Communications of the ACM, April 1991 (vol. 34, no. 4), pp. 30-44.
  77.  
  78. AUTHOR
  79. Independent JPEG Group
  80.  
  81. BUGS
  82. djpeg currently uses a shoddy color quantization algorithm.  This leads to
  83. poor GIF file output.  Two-pass color quantization is not yet supported.
  84.  
  85. Arithmetic coding is not supported for legal reasons.
  86.  
  87. Not as fast as we'd like.
  88.