1 What's New for OpenJPEG
9 + [Parvatha] Enabled compression of TIF image format to j2k by tifftoimage() and decompression of codestream to TIF image format using imagetotif(). Modifications in image_to_j2k.c, j2k_to_image.c, convert.c, convert.h
10 * [antonin] fixed a bug in context numerotation that prevented the RESET switch to work correctly : mqc_reset_enc in mqc.c
11 * [Fod] Corrected codec Makefile by adding the compilation of "compat/getopt.c"
14 * [Parvatha] Made get_file_format function more robust. Modifications in image_to_j2k.c, j2k_to_image.c, getopt.c, getopt.h
17 + [Parvatha] Option to read images from a Folder whose path is specified in the Input parameters by "-ImgDir" along with output decod format specified by "-OutFor" . Modifications in image_to_j2k.c, j2k_to_image.c, getopt.c, getopt.h
18 + [Parvatha] Enabling use of multi character input parameters in the codec. Modifications in image_to_j2k.c, j2k_to_image.c, getopt.c, getopt.h
21 * [GB] Fixed a copy-and-paste type assignment error (bool instead of int) in the JPWL section of decoder parameters structure in openjpeg.h; minor type-casting in jpwl_lib.c. As a result, now OPJViewer should run correctly when built against the most current SVN trunk of LibOpenJPEG.lib
22 * [FOD] Changed version number from 1.1.0 to 1.1.1 in openjpeg.h
23 + [GB] Linux makefile for the JPWL module; newlines at end of JPWL files
26 + [FOD] Added the OPJViewer Module (/OPJViewer), developed by Giuseppe Baruffa of the university of Perugia
29 + [FOD] Algorithmic optimizations in t1.c, thanks to Guido J. !
32 + [FOD] Added OPJ_LIMIT_DECODING enabling us to limit the decoding to main header (modified openjpeg.c, openjpeg.h, j2k.c and j2k.h)
35 ! [FOD] David Fries suggestions. In image_to_j2k and j2k_to_image, strncpy() functions: instead of specifying the path size macro, let the compiler read the length out of the array entry.
36 ! [FOD] David Fries suggestions. Makefile modified. -fPIC flag used for 64-bit compilation. Move operation (rather than copy) for the dist library creation, and -p flag added.
39 ! [FOD] Extra tokens at the end of #endif directive corrected in openjpeg.c, j2k.c and image_to_j2k.c -> no more warnings in linux compilation
40 ! [FOD] Linux Makefile added for the codec
43 ! [FOD] Use of OPJ_PATH_LEN (defined as 4096) to be the maximum allowed size for filenames instead of MAX_PATH which is not always defined. This caused some programs using OpenJPEG to crash. Modifications in openjpeg.h j2k_to_image.c and image_to_j2k.c
44 ! [FOD] Correction of the syntax usage in MJ2_codec/mj2_to_frames.c
47 ! [FOD] Modification in the context numbers, to reflect what has been specified in standard, in libopenjpeg/t1.h
50 + [Giuseppe Baruffa] Antonin verified that the MacOS build suffered from a missing definition of the "min" macro; I've added this definition (properly #ifndef'ed) into both jpwl.h and rs.h
53 * [Giuseppe Baruffa] Better fix of the TPH EPBs bug in JPWL module
54 * [GB] Fixed the UEP bug in JPWL module; now, during a UEP specification, RS protection or CRC check can be switched off for selected range of packets, and consequently reswitched on without confusing the decoder
55 + [GB] Added some lines in the help of JPWL_image_to_j2k, specifying that when using error protection on data packets, this must be paired with header protection, i.e. there cannot be packet protection without header protection
59 + [Francois-Olivier Devaux] New tag: version1.0 (includes codec and libopenjpeg directories)
60 Total update of JPWL module
61 - [FOD] removed directories jpwl/decoder, jpwl/encoder, jpwl/decoder_02, jpwl/encoder_02
62 + [FOD] added in JPWL directory crc.h, jpwl.h, rs.h, crc.c, jpwl.c, jpwl_lib.c, rs.c, JPWL_image_to_j2k.dsp, JPWL_j2k_to_image.dsp, LibOpenJPEG_JPWL.dsp, JPWL_image_to_j2k.dsw, JPWL_j2k_to_image.dsw
63 ! [FOD] Modifications of libopenjpeg to integrate JPWL module (in libopenjpeg directory): j2k.c, j2k.h, openjpeg.c, openjpeg.h, opj_includes.g, t2.c
64 ! [FOD] Modification of codec to integrate JPWL module (in codec directory): image_to_j2k.c, j2k_to_image.c
65 * [FOD] Corrected incorrect fprintf() formatting in codec/convert.c
66 * [FOD] Code optimization usinq vsprintf() command in libopenjpeg/event.c
67 * [Giuseppe Baruffa] Fixed a bug in TPH EPBs parameters: now, "last in current header" information is correctly signaled
70 * [Antonin] fixed a bug in the computation of the mantissa (mu)
71 + [Antonin] added the ability to specify the rate as "float" (before : integer)
74 * [Antonin] fixed a bug in j2k_to_image.c, that prevented the -l option to work correctly.
77 * [Antonin] fixed a bug in pi.c, line 473, that appeared when more than 100 precincts were generated in a resolution level.
80 + [Antonin Descampe] added a readme in /mj2 to warn people that it only works with opj0.97
83 * [Mathieu Malaterre] Install exe and lib and include correctly
84 * [Mathieu Malaterre] Fixed mem leaks and greyscale bmp
85 * [Mathieu Malaterre] Fix pgx name length + random memory access
86 ! [Mathieu Malaterre] API is now const
89 * [Antonin] fixed a bug in t1.c that prevented in some cases a true lossless compression (thanks to Don Mimlitch for reporting this bug)
92 - [Herve Drolon] removed unneeded working variables in opj_tcd_t
95 * [galt] fixed a bug in codec/convert.c::imagetobmp
98 ! [Herve Drolon] changed function definitions of INT and FIX modules to 'inline'
99 + [Herve Drolon] added a VERSION resource to the DLL version of OpenJPEG
102 * [Mathieu Malaterre] Fix compilation using default openjpeg.dsw
103 * [Herve Drolon] fixed various minor warnings occuring under icc9 and bcc32
104 - [Mathieu Malaterre] Remove all references to OPJ_EXPORT, no declspec in header file anymore
105 + [Mathieu Malaterre] Add a def.in file which is a template for Module Definition
106 + [Herve Drolon] added MSVC project and compiler directives to build a 'standard' WIN32 DLL
107 ! [Mathieu Malaterre] Update CMake to match the new shared lib system (no more def file)
110 * [Antonin Descampe] fixed a two initialization problems in t1.c and tcd.c
113 * [Herve Drolon] fixed various minor warnings occuring under gcc
114 * [__david__] fixed a segfault in codec/image_to_j2k.c & codec/j2k_to_image.c
115 * [__david__] fixed help option in codec/j2k_to_image & codec/image_to_j2k
118 ! [Mathieu Malaterre] Sync with ITK repository, also add ref to doxygen
119 ! [Mathieu Malaterre] Add a lot of comments on the CMake build system
120 ! [Mathieu Malaterre] Fix MINGW32 and BORLAND compilation problems.
123 * [Antonin Descampe] fixed a problem in convert.c when multiple comments
124 + [Antonin Descampe] added cmake files to the project
125 ! [Antonin Descampe] fix.c : replaced "WIN32" by "_MSC_VER" for int64
126 + [Antonin Descampe] added "OPJ_EXPORT" in openjpeg.h to generate shared lib with win32
127 ! [Antonin Descampe] removed all CtrlM from files
130 ! [Antonin Descampe] event.c : replaced "WIN32" by "_MSC_VER" for i2a
133 * [Antonin Descampe] fixed various minor warnings with gdcm patches
136 * [Herve Drolon] fixed a bug in jp2_read_ihdr (need to allocate jp2->comps)
139 * [Herve Drolon] changed the name of j2k_realloc to opj_realloc
140 * [Herve Drolon] fixed a bug in opj_cio_open when saving 48-bit images (wrong buffer size calculation)
143 * [Antonin Descampe] fixed a bug when specifying a rate '-r' => no distortion info was available in the index
144 * [Antonin Descampe] fixed a bug in t1_getwmsedec (stepsize was divided by 8192)
146 December 5, 2005 - 1.1.0