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