change.log 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  1. CHANGE LOG for Independent JPEG Group's JPEG software
  2. Version 9b 17-Jan-2016
  3. -----------------------
  4. Improvements and optimizations in DCT and color calculations.
  5. Normalize range limit array composition and access pattern.
  6. Thank to Sia Furler and Maddie Ziegler for inspiration.
  7. Use merged upsample with scaled DCT sizes larger than 8.
  8. Thank to Taylor Hatala for inspiration.
  9. Check for excessive comment lengths in argument parsing in wrjpgcom.c.
  10. Thank to Julian Cohen for hint.
  11. Add makefile.b32 for use with Borland C++ 32-bit (bcc32).
  12. Thank to Joe Slater for contribution.
  13. Document 'f' specifier for jpegtran -crop specification.
  14. Thank to Michele Martone for suggestion.
  15. Use defined value from header instead of hardwired number in rdswitch.c.
  16. Thank to Robert Sprowson for hint.
  17. Version 9a 19-Jan-2014
  18. -----------------------
  19. Add support for wide gamut color spaces (JFIF version 2).
  20. Improve clarity and accuracy in color conversion modules.
  21. Note: Requires rebuild of test images.
  22. Extend the bit depth support to all values from 8 to 12
  23. (BITS_IN_JSAMPLE configuration option in jmorecfg.h).
  24. jpegtran now supports N bits sample data precision with all N from 8 to 12
  25. in a single instance. Thank to Roland Fassauer for inspiration.
  26. Try to resolve issues with new boolean type definition.
  27. Thank also to v4hn for suggestion.
  28. Enable option to use default Huffman tables for lossless compression
  29. (for hardware solution), and in this case improve lossless RGB compression
  30. with reversible color transform. Thank to Benny Alexandar for hint.
  31. Extend the entropy decoding structure, so that extraneous bytes between
  32. compressed scan data and following marker can be reported correctly.
  33. Thank to Nigel Tao for hint.
  34. Add jpegtran -wipe option and extension for -crop.
  35. Thank to Andrew Senior, David Clunie, and Josef Schmid for suggestion.
  36. Version 9 13-Jan-2013
  37. ----------------------
  38. Add cjpeg -rgb1 option to create an RGB JPEG file, and insert
  39. a simple reversible color transform into the processing which
  40. significantly improves the compression.
  41. The recommended command for lossless coding of RGB images is now
  42. cjpeg -rgb1 -block 1 -arithmetic.
  43. As said, this option improves the compression significantly, but
  44. the files are not compatible with JPEG decoders prior to IJG v9
  45. due to the included color transform.
  46. The used color transform and marker signaling is compatible with
  47. other JPEG standards (e.g., JPEG-LS part 2).
  48. Remove the automatic de-ANSI-fication support (Automake 1.12).
  49. Thank also to Nitin A Kamble for suggestion.
  50. Add remark for jpeg_mem_dest() in jdatadst.c.
  51. Thank to Elie-Gregoire Khoury for the hint.
  52. Support files with invalid component identifiers (created
  53. by Adobe PDF). Thank to Robin Watts for the suggestion.
  54. Adapt full buffer case in jcmainct.c for use with scaled DCT.
  55. Thank to Sergii Biloshytskyi for the suggestion.
  56. Add type identifier for declaration of noreturn functions.
  57. Thank to Brett L. Moore for the suggestion.
  58. Correct argument type in format string, avoid compiler warnings.
  59. Thank to Vincent Torri for hint.
  60. Add missing #include directives in configuration checks, avoid
  61. configuration errors. Thank to John Spencer for the hint.
  62. Version 8d 15-Jan-2012
  63. -----------------------
  64. Add cjpeg -rgb option to create RGB JPEG files.
  65. Using this switch suppresses the conversion from RGB
  66. colorspace input to the default YCbCr JPEG colorspace.
  67. This feature allows true lossless JPEG coding of RGB color images.
  68. The recommended command for this purpose is currently
  69. cjpeg -rgb -block 1 -arithmetic.
  70. SmartScale capable decoder (introduced with IJG JPEG 8) required.
  71. Thank to Michael Koch for the initial suggestion.
  72. Add option to disable the region adjustment in the transupp crop code.
  73. Thank to Jeffrey Friedl for the suggestion.
  74. Thank to Richard Jones and Edd Dawson for various minor corrections.
  75. Thank to Akim Demaille for configure.ac cleanup.
  76. Version 8c 16-Jan-2011
  77. -----------------------
  78. Add option to compression library and cjpeg (-block N) to use
  79. different DCT block size.
  80. All N from 1 to 16 are possible. Default is 8 (baseline format).
  81. Larger values produce higher compression,
  82. smaller values produce higher quality.
  83. SmartScale capable decoder (introduced with IJG JPEG 8) required.
  84. Version 8b 16-May-2010
  85. -----------------------
  86. Repair problem in new memory source manager with corrupt JPEG data.
  87. Thank to Ted Campbell and Samuel Chun for the report.
  88. Repair problem in Makefile.am test target.
  89. Thank to anonymous user for the report.
  90. Support MinGW installation with automatic configure.
  91. Thank to Volker Grabsch for the suggestion.
  92. Version 8a 28-Feb-2010
  93. -----------------------
  94. Writing tables-only datastreams via jpeg_write_tables works again.
  95. Support 32-bit BMPs (RGB image with Alpha channel) for read in cjpeg.
  96. Thank to Brett Blackham for the suggestion.
  97. Improve accuracy in floating point IDCT calculation.
  98. Thank to Robert Hooke for the hint.
  99. Version 8 10-Jan-2010
  100. ----------------------
  101. jpegtran now supports the same -scale option as djpeg for "lossless" resize.
  102. An implementation of the JPEG SmartScale extension is required for this
  103. feature. A (draft) specification of the JPEG SmartScale extension is
  104. available as a contributed document at ITU and ISO. Revision 2 or later
  105. of the document is required (latest document version is Revision 3).
  106. The SmartScale extension will enable more features beside lossless resize
  107. in future implementations, as described in the document (new compression
  108. options).
  109. Add sanity check in BMP reader module to avoid cjpeg crash for empty input
  110. image (thank to Isaev Ildar of ISP RAS, Moscow, RU for reporting this error).
  111. Add data source and destination managers for read from and write to
  112. memory buffers. New API functions jpeg_mem_src and jpeg_mem_dest.
  113. Thank to Roberto Boni from Italy for the suggestion.
  114. Version 7 27-Jun-2009
  115. ----------------------
  116. New scaled DCTs implemented.
  117. djpeg now supports scalings N/8 with all N from 1 to 16.
  118. cjpeg now supports scalings 8/N with all N from 1 to 16.
  119. Scaled DCTs with size larger than 8 are now also used for resolving the
  120. common 2x2 chroma subsampling case without additional spatial resampling.
  121. Separate spatial resampling for those kind of files is now only necessary
  122. for N>8 scaling cases.
  123. Furthermore, separate scaled DCT functions are provided for direct resolving
  124. of the common asymmetric subsampling cases (2x1 and 1x2) without additional
  125. spatial resampling.
  126. cjpeg -quality option has been extended for support of separate quality
  127. settings for luminance and chrominance (or in general, for every provided
  128. quantization table slot).
  129. New API function jpeg_default_qtables() and q_scale_factor array in library.
  130. Added -nosmooth option to cjpeg, complementary to djpeg.
  131. New variable "do_fancy_downsampling" in library, complement to fancy
  132. upsampling. Fancy upsampling now uses direct DCT scaling with sizes
  133. larger than 8. The old method is not reversible and has been removed.
  134. Support arithmetic entropy encoding and decoding.
  135. Added files jaricom.c, jcarith.c, jdarith.c.
  136. Straighten the file structure:
  137. Removed files jidctred.c, jcphuff.c, jchuff.h, jdphuff.c, jdhuff.h.
  138. jpegtran has a new "lossless" cropping feature.
  139. Implement -perfect option in jpegtran, new API function
  140. jtransform_perfect_transform() in transupp. (DP 204_perfect.dpatch)
  141. Better error messages for jpegtran fopen failure.
  142. (DP 203_jpegtran_errmsg.dpatch)
  143. Fix byte order issue with 16bit PPM/PGM files in rdppm.c/wrppm.c:
  144. according to Netpbm, the de facto standard implementation of the PNM formats,
  145. the most significant byte is first. (DP 203_rdppm.dpatch)
  146. Add -raw option to rdjpgcom not to mangle the output.
  147. (DP 205_rdjpgcom_raw.dpatch)
  148. Make rdjpgcom locale aware. (DP 201_rdjpgcom_locale.dpatch)
  149. Add extern "C" to jpeglib.h.
  150. This avoids the need to put extern "C" { ... } around #include "jpeglib.h"
  151. in your C++ application. Defining the symbol DONT_USE_EXTERN_C in the
  152. configuration prevents this. (DP 202_jpeglib.h_c++.dpatch)
  153. Version 6b 27-Mar-1998
  154. -----------------------
  155. jpegtran has new features for lossless image transformations (rotation
  156. and flipping) as well as "lossless" reduction to grayscale.
  157. jpegtran now copies comments by default; it has a -copy switch to enable
  158. copying all APPn blocks as well, or to suppress comments. (Formerly it
  159. always suppressed comments and APPn blocks.) jpegtran now also preserves
  160. JFIF version and resolution information.
  161. New decompressor library feature: COM and APPn markers found in the input
  162. file can be saved in memory for later use by the application. (Before,
  163. you had to code this up yourself with a custom marker processor.)
  164. There is an unused field "void * client_data" now in compress and decompress
  165. parameter structs; this may be useful in some applications.
  166. JFIF version number information is now saved by the decoder and accepted by
  167. the encoder. jpegtran uses this to copy the source file's version number,
  168. to ensure "jpegtran -copy all" won't create bogus files that contain JFXX
  169. extensions but claim to be version 1.01. Applications that generate their
  170. own JFXX extension markers also (finally) have a supported way to cause the
  171. encoder to emit JFIF version number 1.02.
  172. djpeg's trace mode reports JFIF 1.02 thumbnail images as such, rather
  173. than as unknown APP0 markers.
  174. In -verbose mode, djpeg and rdjpgcom will try to print the contents of
  175. APP12 markers as text. Some digital cameras store useful text information
  176. in APP12 markers.
  177. Handling of truncated data streams is more robust: blocks beyond the one in
  178. which the error occurs will be output as uniform gray, or left unchanged
  179. if decoding a progressive JPEG. The appearance no longer depends on the
  180. Huffman tables being used.
  181. Huffman tables are checked for validity much more carefully than before.
  182. To avoid the Unisys LZW patent, djpeg's GIF output capability has been
  183. changed to produce "uncompressed GIFs", and cjpeg's GIF input capability
  184. has been removed altogether. We're not happy about it either, but there
  185. seems to be no good alternative.
  186. The configure script now supports building libjpeg as a shared library
  187. on many flavors of Unix (all the ones that GNU libtool knows how to
  188. build shared libraries for). Use "./configure --enable-shared" to
  189. try this out.
  190. New jconfig file and makefiles for Microsoft Visual C++ and Developer Studio.
  191. Also, a jconfig file and a build script for Metrowerks CodeWarrior
  192. on Apple Macintosh. makefile.dj has been updated for DJGPP v2, and there
  193. are miscellaneous other minor improvements in the makefiles.
  194. jmemmac.c now knows how to create temporary files following Mac System 7
  195. conventions.
  196. djpeg's -map switch is now able to read raw-format PPM files reliably.
  197. cjpeg -progressive -restart no longer generates any unnecessary DRI markers.
  198. Multiple calls to jpeg_simple_progression for a single JPEG object
  199. no longer leak memory.
  200. Version 6a 7-Feb-96
  201. --------------------
  202. Library initialization sequence modified to detect version mismatches
  203. and struct field packing mismatches between library and calling application.
  204. This change requires applications to be recompiled, but does not require
  205. any application source code change.
  206. All routine declarations changed to the style "GLOBAL(type) name ...",
  207. that is, GLOBAL, LOCAL, METHODDEF, EXTERN are now macros taking the
  208. routine's return type as an argument. This makes it possible to add
  209. Microsoft-style linkage keywords to all the routines by changing just
  210. these macros. Note that any application code that was using these macros
  211. will have to be changed.
  212. DCT coefficient quantization tables are now stored in normal array order
  213. rather than zigzag order. Application code that calls jpeg_add_quant_table,
  214. or otherwise manipulates quantization tables directly, will need to be
  215. changed. If you need to make such code work with either older or newer
  216. versions of the library, a test like "#if JPEG_LIB_VERSION >= 61" is
  217. recommended.
  218. djpeg's trace capability now dumps DQT tables in natural order, not zigzag
  219. order. This allows the trace output to be made into a "-qtables" file
  220. more easily.
  221. New system-dependent memory manager module for use on Apple Macintosh.
  222. Fix bug in cjpeg's -smooth option: last one or two scanlines would be
  223. duplicates of the prior line unless the image height mod 16 was 1 or 2.
  224. Repair minor problems in VMS, BCC, MC6 makefiles.
  225. New configure script based on latest GNU Autoconf.
  226. Correct the list of include files needed by MetroWerks C for ccommand().
  227. Numerous small documentation updates.
  228. Version 6 2-Aug-95
  229. -------------------
  230. Progressive JPEG support: library can read and write full progressive JPEG
  231. files. A "buffered image" mode supports incremental decoding for on-the-fly
  232. display of progressive images. Simply recompiling an existing IJG-v5-based
  233. decoder with v6 should allow it to read progressive files, though of course
  234. without any special progressive display.
  235. New "jpegtran" application performs lossless transcoding between different
  236. JPEG formats; primarily, it can be used to convert baseline to progressive
  237. JPEG and vice versa. In support of jpegtran, the library now allows lossless
  238. reading and writing of JPEG files as DCT coefficient arrays. This ability
  239. may be of use in other applications.
  240. Notes for programmers:
  241. * We changed jpeg_start_decompress() to be able to suspend; this makes all
  242. decoding modes available to suspending-input applications. However,
  243. existing applications that use suspending input will need to be changed
  244. to check the return value from jpeg_start_decompress(). You don't need to
  245. do anything if you don't use a suspending data source.
  246. * We changed the interface to the virtual array routines: access_virt_array
  247. routines now take a count of the number of rows to access this time. The
  248. last parameter to request_virt_array routines is now interpreted as the
  249. maximum number of rows that may be accessed at once, but not necessarily
  250. the height of every access.
  251. Version 5b 15-Mar-95
  252. ---------------------
  253. Correct bugs with grayscale images having v_samp_factor > 1.
  254. jpeg_write_raw_data() now supports output suspension.
  255. Correct bugs in "configure" script for case of compiling in
  256. a directory other than the one containing the source files.
  257. Repair bug in jquant1.c: sometimes didn't use as many colors as it could.
  258. Borland C makefile and jconfig file work under either MS-DOS or OS/2.
  259. Miscellaneous improvements to documentation.
  260. Version 5a 7-Dec-94
  261. --------------------
  262. Changed color conversion roundoff behavior so that grayscale values are
  263. represented exactly. (This causes test image files to change.)
  264. Make ordered dither use 16x16 instead of 4x4 pattern for a small quality
  265. improvement.
  266. New configure script based on latest GNU Autoconf.
  267. Fix configure script to handle CFLAGS correctly.
  268. Rename *.auto files to *.cfg, so that configure script still works if
  269. file names have been truncated for DOS.
  270. Fix bug in rdbmp.c: didn't allow for extra data between header and image.
  271. Modify rdppm.c/wrppm.c to handle 2-byte raw PPM/PGM formats for 12-bit data.
  272. Fix several bugs in rdrle.c.
  273. NEED_SHORT_EXTERNAL_NAMES option was broken.
  274. Revise jerror.h/jerror.c for more flexibility in message table.
  275. Repair oversight in jmemname.c NO_MKTEMP case: file could be there
  276. but unreadable.
  277. Version 5 24-Sep-94
  278. --------------------
  279. Version 5 represents a nearly complete redesign and rewrite of the IJG
  280. software. Major user-visible changes include:
  281. * Automatic configuration simplifies installation for most Unix systems.
  282. * A range of speed vs. image quality tradeoffs are supported.
  283. This includes resizing of an image during decompression: scaling down
  284. by a factor of 1/2, 1/4, or 1/8 is handled very efficiently.
  285. * New programs rdjpgcom and wrjpgcom allow insertion and extraction
  286. of text comments in a JPEG file.
  287. The application programmer's interface to the library has changed completely.
  288. Notable improvements include:
  289. * We have eliminated the use of callback routines for handling the
  290. uncompressed image data. The application now sees the library as a
  291. set of routines that it calls to read or write image data on a
  292. scanline-by-scanline basis.
  293. * The application image data is represented in a conventional interleaved-
  294. pixel format, rather than as a separate array for each color channel.
  295. This can save a copying step in many programs.
  296. * The handling of compressed data has been cleaned up: the application can
  297. supply routines to source or sink the compressed data. It is possible to
  298. suspend processing on source/sink buffer overrun, although this is not
  299. supported in all operating modes.
  300. * All static state has been eliminated from the library, so that multiple
  301. instances of compression or decompression can be active concurrently.
  302. * JPEG abbreviated datastream formats are supported, ie, quantization and
  303. Huffman tables can be stored separately from the image data.
  304. * And not only that, but the documentation of the library has improved
  305. considerably!
  306. The last widely used release before the version 5 rewrite was version 4A of
  307. 18-Feb-93. Change logs before that point have been discarded, since they
  308. are not of much interest after the rewrite.