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