change.log 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270
  1. CHANGE LOG for Independent JPEG Group's JPEG software
  2. Version 7 27-Jun-2009
  3. ----------------------
  4. New scaled DCTs implemented.
  5. djpeg now supports scalings N/8 with all N from 1 to 16.
  6. cjpeg now supports scalings 8/N with all N from 1 to 16.
  7. Scaled DCTs with size larger than 8 are now also used for resolving the
  8. common 2x2 chroma subsampling case without additional spatial resampling.
  9. Separate spatial resampling for those kind of files is now only necessary
  10. for N>8 scaling cases.
  11. Furthermore, separate scaled DCT functions are provided for direct resolving
  12. of the common asymmetric subsampling cases (2x1 and 1x2) without additional
  13. spatial resampling.
  14. cjpeg -quality option has been extended for support of separate quality
  15. settings for luminance and chrominance (or in general, for every provided
  16. quantization table slot).
  17. New API function jpeg_default_qtables() and q_scale_factor array in library.
  18. Added -nosmooth option to cjpeg, complementary to djpeg.
  19. New variable "do_fancy_downsampling" in library, complement to fancy
  20. upsampling. Fancy upsampling now uses direct DCT scaling with sizes
  21. larger than 8. The old method is not reversible and has been removed.
  22. Support arithmetic entropy encoding and decoding.
  23. Added files jaricom.c, jcarith.c, jdarith.c.
  24. Straighten the file structure:
  25. Removed files jidctred.c, jcphuff.c, jchuff.h, jdphuff.c, jdhuff.h.
  26. jpegtran has a new "lossless" cropping feature.
  27. Implement -perfect option in jpegtran, new API function
  28. jtransform_perfect_transform() in transupp. (DP 204_perfect.dpatch)
  29. Better error messages for jpegtran fopen failure.
  30. (DP 203_jpegtran_errmsg.dpatch)
  31. Fix byte order issue with 16bit PPM/PGM files in rdppm.c/wrppm.c:
  32. according to Netpbm, the de facto standard implementation of the PNM formats,
  33. the most significant byte is first. (DP 203_rdppm.dpatch)
  34. Add -raw option to rdjpgcom not to mangle the output.
  35. (DP 205_rdjpgcom_raw.dpatch)
  36. Make rdjpgcom locale aware. (DP 201_rdjpgcom_locale.dpatch)
  37. Add extern "C" to jpeglib.h.
  38. This avoids the need to put extern "C" { ... } around #include "jpeglib.h"
  39. in your C++ application. Defining the symbol DONT_USE_EXTERN_C in the
  40. configuration prevents this. (DP 202_jpeglib.h_c++.dpatch)
  41. Version 6b 27-Mar-1998
  42. -----------------------
  43. jpegtran has new features for lossless image transformations (rotation
  44. and flipping) as well as "lossless" reduction to grayscale.
  45. jpegtran now copies comments by default; it has a -copy switch to enable
  46. copying all APPn blocks as well, or to suppress comments. (Formerly it
  47. always suppressed comments and APPn blocks.) jpegtran now also preserves
  48. JFIF version and resolution information.
  49. New decompressor library feature: COM and APPn markers found in the input
  50. file can be saved in memory for later use by the application. (Before,
  51. you had to code this up yourself with a custom marker processor.)
  52. There is an unused field "void * client_data" now in compress and decompress
  53. parameter structs; this may be useful in some applications.
  54. JFIF version number information is now saved by the decoder and accepted by
  55. the encoder. jpegtran uses this to copy the source file's version number,
  56. to ensure "jpegtran -copy all" won't create bogus files that contain JFXX
  57. extensions but claim to be version 1.01. Applications that generate their
  58. own JFXX extension markers also (finally) have a supported way to cause the
  59. encoder to emit JFIF version number 1.02.
  60. djpeg's trace mode reports JFIF 1.02 thumbnail images as such, rather
  61. than as unknown APP0 markers.
  62. In -verbose mode, djpeg and rdjpgcom will try to print the contents of
  63. APP12 markers as text. Some digital cameras store useful text information
  64. in APP12 markers.
  65. Handling of truncated data streams is more robust: blocks beyond the one in
  66. which the error occurs will be output as uniform gray, or left unchanged
  67. if decoding a progressive JPEG. The appearance no longer depends on the
  68. Huffman tables being used.
  69. Huffman tables are checked for validity much more carefully than before.
  70. To avoid the Unisys LZW patent, djpeg's GIF output capability has been
  71. changed to produce "uncompressed GIFs", and cjpeg's GIF input capability
  72. has been removed altogether. We're not happy about it either, but there
  73. seems to be no good alternative.
  74. The configure script now supports building libjpeg as a shared library
  75. on many flavors of Unix (all the ones that GNU libtool knows how to
  76. build shared libraries for). Use "./configure --enable-shared" to
  77. try this out.
  78. New jconfig file and makefiles for Microsoft Visual C++ and Developer Studio.
  79. Also, a jconfig file and a build script for Metrowerks CodeWarrior
  80. on Apple Macintosh. makefile.dj has been updated for DJGPP v2, and there
  81. are miscellaneous other minor improvements in the makefiles.
  82. jmemmac.c now knows how to create temporary files following Mac System 7
  83. conventions.
  84. djpeg's -map switch is now able to read raw-format PPM files reliably.
  85. cjpeg -progressive -restart no longer generates any unnecessary DRI markers.
  86. Multiple calls to jpeg_simple_progression for a single JPEG object
  87. no longer leak memory.
  88. Version 6a 7-Feb-96
  89. --------------------
  90. Library initialization sequence modified to detect version mismatches
  91. and struct field packing mismatches between library and calling application.
  92. This change requires applications to be recompiled, but does not require
  93. any application source code change.
  94. All routine declarations changed to the style "GLOBAL(type) name ...",
  95. that is, GLOBAL, LOCAL, METHODDEF, EXTERN are now macros taking the
  96. routine's return type as an argument. This makes it possible to add
  97. Microsoft-style linkage keywords to all the routines by changing just
  98. these macros. Note that any application code that was using these macros
  99. will have to be changed.
  100. DCT coefficient quantization tables are now stored in normal array order
  101. rather than zigzag order. Application code that calls jpeg_add_quant_table,
  102. or otherwise manipulates quantization tables directly, will need to be
  103. changed. If you need to make such code work with either older or newer
  104. versions of the library, a test like "#if JPEG_LIB_VERSION >= 61" is
  105. recommended.
  106. djpeg's trace capability now dumps DQT tables in natural order, not zigzag
  107. order. This allows the trace output to be made into a "-qtables" file
  108. more easily.
  109. New system-dependent memory manager module for use on Apple Macintosh.
  110. Fix bug in cjpeg's -smooth option: last one or two scanlines would be
  111. duplicates of the prior line unless the image height mod 16 was 1 or 2.
  112. Repair minor problems in VMS, BCC, MC6 makefiles.
  113. New configure script based on latest GNU Autoconf.
  114. Correct the list of include files needed by MetroWerks C for ccommand().
  115. Numerous small documentation updates.
  116. Version 6 2-Aug-95
  117. -------------------
  118. Progressive JPEG support: library can read and write full progressive JPEG
  119. files. A "buffered image" mode supports incremental decoding for on-the-fly
  120. display of progressive images. Simply recompiling an existing IJG-v5-based
  121. decoder with v6 should allow it to read progressive files, though of course
  122. without any special progressive display.
  123. New "jpegtran" application performs lossless transcoding between different
  124. JPEG formats; primarily, it can be used to convert baseline to progressive
  125. JPEG and vice versa. In support of jpegtran, the library now allows lossless
  126. reading and writing of JPEG files as DCT coefficient arrays. This ability
  127. may be of use in other applications.
  128. Notes for programmers:
  129. * We changed jpeg_start_decompress() to be able to suspend; this makes all
  130. decoding modes available to suspending-input applications. However,
  131. existing applications that use suspending input will need to be changed
  132. to check the return value from jpeg_start_decompress(). You don't need to
  133. do anything if you don't use a suspending data source.
  134. * We changed the interface to the virtual array routines: access_virt_array
  135. routines now take a count of the number of rows to access this time. The
  136. last parameter to request_virt_array routines is now interpreted as the
  137. maximum number of rows that may be accessed at once, but not necessarily
  138. the height of every access.
  139. Version 5b 15-Mar-95
  140. ---------------------
  141. Correct bugs with grayscale images having v_samp_factor > 1.
  142. jpeg_write_raw_data() now supports output suspension.
  143. Correct bugs in "configure" script for case of compiling in
  144. a directory other than the one containing the source files.
  145. Repair bug in jquant1.c: sometimes didn't use as many colors as it could.
  146. Borland C makefile and jconfig file work under either MS-DOS or OS/2.
  147. Miscellaneous improvements to documentation.
  148. Version 5a 7-Dec-94
  149. --------------------
  150. Changed color conversion roundoff behavior so that grayscale values are
  151. represented exactly. (This causes test image files to change.)
  152. Make ordered dither use 16x16 instead of 4x4 pattern for a small quality
  153. improvement.
  154. New configure script based on latest GNU Autoconf.
  155. Fix configure script to handle CFLAGS correctly.
  156. Rename *.auto files to *.cfg, so that configure script still works if
  157. file names have been truncated for DOS.
  158. Fix bug in rdbmp.c: didn't allow for extra data between header and image.
  159. Modify rdppm.c/wrppm.c to handle 2-byte raw PPM/PGM formats for 12-bit data.
  160. Fix several bugs in rdrle.c.
  161. NEED_SHORT_EXTERNAL_NAMES option was broken.
  162. Revise jerror.h/jerror.c for more flexibility in message table.
  163. Repair oversight in jmemname.c NO_MKTEMP case: file could be there
  164. but unreadable.
  165. Version 5 24-Sep-94
  166. --------------------
  167. Version 5 represents a nearly complete redesign and rewrite of the IJG
  168. software. Major user-visible changes include:
  169. * Automatic configuration simplifies installation for most Unix systems.
  170. * A range of speed vs. image quality tradeoffs are supported.
  171. This includes resizing of an image during decompression: scaling down
  172. by a factor of 1/2, 1/4, or 1/8 is handled very efficiently.
  173. * New programs rdjpgcom and wrjpgcom allow insertion and extraction
  174. of text comments in a JPEG file.
  175. The application programmer's interface to the library has changed completely.
  176. Notable improvements include:
  177. * We have eliminated the use of callback routines for handling the
  178. uncompressed image data. The application now sees the library as a
  179. set of routines that it calls to read or write image data on a
  180. scanline-by-scanline basis.
  181. * The application image data is represented in a conventional interleaved-
  182. pixel format, rather than as a separate array for each color channel.
  183. This can save a copying step in many programs.
  184. * The handling of compressed data has been cleaned up: the application can
  185. supply routines to source or sink the compressed data. It is possible to
  186. suspend processing on source/sink buffer overrun, although this is not
  187. supported in all operating modes.
  188. * All static state has been eliminated from the library, so that multiple
  189. instances of compression or decompression can be active concurrently.
  190. * JPEG abbreviated datastream formats are supported, ie, quantization and
  191. Huffman tables can be stored separately from the image data.
  192. * And not only that, but the documentation of the library has improved
  193. considerably!
  194. The last widely used release before the version 5 rewrite was version 4A of
  195. 18-Feb-93. Change logs before that point have been discarded, since they
  196. are not of much interest after the rewrite.