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