home *** CD-ROM | disk | FTP | other *** search
/ Network PC / Network PC.iso / amiga utilities / graphics / conversion / pnmtoljpg / readme < prev   
Encoding:
Text File  |  1997-11-21  |  3.4 KB  |  76 lines

  1.                       Lossless JPEG Codec
  2.                      (Version 1.0; June 20, 1994) 
  3.  
  4.                      Kongji Huang and Brian Smith
  5.                     Department of Computer Science
  6.                           Cornell University
  7.  
  8. This message announces a freely distributable lossless JPEG image
  9. compression package.  The distribution contains the source code for
  10. JPEG lossless mode encoding and decoding, man pages that describe the
  11. commands, and an example of lossless JPEG compressed image.  The
  12. INSTALL file provides the installation instructions.  The distribution
  13. is available from ftp.cs.cornell.edu in the pub/multimed/ljpg
  14. directory.
  15.  
  16.  
  17. BACKGROUND
  18.  
  19. In 1992, a joint ISO/CCITT committee known as JPEG (Joint Photographic
  20. Experts Group) established and published the first draft international
  21. standard (DIS) for compressing continuous-tone still images, both
  22. grayscale and color. JPEG has defined four mode of operations,
  23. summarized them as follows. 
  24.  
  25. (1) Sequential encoding: each image component is encoded in a single
  26.     left-to-right, top-to-bottom scan;
  27. (2) Progressive encoding: the image is encoded in multiple scans for 
  28.     applications in which transmission time is long, and the viewer
  29.     prefers to watch the image build up in multiple coarse-to-clear
  30.     passes;
  31. (3) Lossless encoding: the images is encoded to guarantee exact recovery
  32.     of every source image sample value (even though the result is low
  33.     compression compared to the lossy modes);
  34. (4) Hierarchical encoding: the image is encoded at multiple resolutions
  35.     so that lower-resolution versions may be accessed without first having
  36.     to decompress the image at its full resolution.
  37.  
  38. Our lossless JPEG encoding program has an automatic prediction
  39. selection value (PSV) selector which selects the best PSV among a user
  40. provided or default set of PSVs. This selector guarantees the best
  41. compression ratio for lossless JPEG.
  42.  
  43. The encoding program "pnmtoljpg" compresses a Portable Pixmap or
  44. Portable Graymap image to a lossles JPEG (ljpg) image using the JPEG
  45. standard (DIS) lossless mode of operation. The decoding program
  46. "ljpgtopnm" decodes a ljpg image to either a Portable Pixmap or
  47. Portable Graymap image depending on the number of color components
  48. stored in the ljpg image file.
  49.  
  50. To install the programs, see INSTALL file for detail.  Command usage is
  51. summarized in the pnmtoljpg.1 and ljpgtopnm.1 files, which are in unix
  52. man page format.  To view these files, type "nroff -man pnmtoljpg.1" or
  53. "nroff -man ljpgtopnm.1".  The commands "pnmtoljpg -h" and "ljpgtopnm
  54. -h" will give you simple on line help.
  55.  
  56. If you find a bug (or better yet, fix it!), port the code to another
  57. platform, or have suggestions for improvement, send email to
  58. kongji@cs.cornell.edu or bsmith@cs.cornell.edu
  59.  
  60. We extend our thanks to everyone who helped to create, debug, and distribute
  61. this software.
  62.  
  63.  
  64. References
  65.  
  66. Wallace, Gregory K. "The JPEG Still Picture Compression Standard",
  67. Communications of the ACM, April 1991 vol. 34 no. 4, pp. 30-40. A revised
  68. version of this article is available at ftp.uu.net, graphics/jpeg/wallace.ps.Z. 
  69.  
  70. "The Data Compression book" by Mark Nelson provides a good introduction
  71. many data compression techniques. It also includes sample source code in C.
  72.  
  73. "JPEG Still Image Data Compression Standard" by William B. Pennebaker and
  74. Joan L. Mitchell gives a detailed description of the JPEG standard. It also
  75. includes the text of ISO Draft International Standard (DIS).
  76.