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