Commit graph

9 commits

Author SHA1 Message Date
adam
bb74f8e389 openjpeg: updated to 2.5.0
v2.5.0

Merged pull requests:

tools/travis-ci/install.sh: git clone with https:// to fix 'The unaut…
Java Support 1.8 now...
Separate fuzz targets to increase coverage
CMakeLists.txt: do not set INSTALL_NAME_DIR for MacOS builds for CMake >= 3.0 (fixes
Avoid integer overflows in DWT. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=44544
Updated "added support for partial bitstream decoding"
opj_encoder_set_extra_options(): add a GUARD_BITS=value option
More overflow related bug fixes
opj_j2k_setup_encoder(): validate number of tiles to avoid illegal values and potential overflow (fixes
Missed conversion from unsigned int to OPJ_INT32
Added check for integer overflow in get_num_images
Added overflow check for CVE-2021-29338
Fix integer overflow in num_images
Remove duplicate assignments in function tiftoimage
Fix some typos (found by codespell)
CI: Add CIFuzz action
Feature/decimation
API: deprecate 'bpp' member in favor of 'prec'
Added support for high throughput (HTJ2K) decoding.
verify-indentation.sh: fix for pull request from bar/master to foo/master
Change integer for version libtiff 4.3.0
Port continuous integration to github actions
Avoid integer overflows in DWT.
LGTM warning: Comparison result is always the same
A couple typos found by codespell
cmake: add install interface include directory
fix issues 1368: exist a issues of freeing uninitialized pointer in src/bin/jp2/opj_decompress.c,that will cause a segfault
opj_j2k_is_imf_compliant: Fix out of bounds access
opj_j2k_is_imf_compliant: Fix argument formatting for warnings.
CMakeLists.txt/appveyor.yml: update version number to 2.5.0…
.travis.yml: try to fix gcc 4.8 config by updating to xenial
Add support for enabling generation of TLM markers in encoder
Fix various compiler warnings
fix
Remove obsolete components JPWL, JP3D and MJ2
tools/travis-ci/install.sh: fix links to Kakadu and jpylyzer binaries
emscripten: disable big endian test
Fix cmake file with DESTDIR
CMakeLists.txt: Don't require a C++ compiler
Import files tiff and yuv(raw)
Fix year in NEWS
Fix lcms2 static linking using pgk config
fix static build only against tiff and its indirect dependencies

Closed issues:

integer constant is too large for 'long' type
Openjpeg3D lossy compression not working
mj2: Array overflow
OPJ fails to decode image that KDU manages correctly
yuvtoimage() bug in v1 and v2 for 16-Bit: please apply ASAP
JP3D: Fix CVE-2013-4289 CVE-2013-4290
MJ2 libraries are installed in lib
MJ2: realloc is misused and may leak memory
MJ2 wrapper not functional
JPWL is broken in trunk
MJ2 files not using OPENJPEG API correctly
Maximum bit depth supported by the OpenJPEG implementation of JP3D
does openjpeg support either visually lossless or numerically lossless jpeg2000 compression?
extract jpeg2000 tile without decompression
openjpeg doesn't install a relocatable shared lib on macOS
pull request - the cinema industry awaits!
Integer overflows in j2K
why lossly compression performance worse than jpeg when compress png?
cect
the docs don't describe bpp and prec in opj_image_comp very well
converting .png to .jp2 by opj_compress is different from the original image
Comparison result is always the same
Exist a issues of freeing uninitialized pointer in src/bin/jp2/opj_decompress.c,that will cause a segfault
[TEST NOT RUNNING]: bigendian test
opj_decompress 2.4.0 built with library 2.3.0.
New library htjpeg2000
Integer Overflow in num_images
All IMF Profile Selections Result in PART1
grayscale image
error C2169: 'lrintf': intrinsic function, cannot be defined
Generate lower-case extension
color of reconstructed png file much darker
CVE-2019-6988, CVE-2018-20846 and CVE-2018-16376
opj 2.4.0: opj_free missing in opj3d
Not able to compress volumetric data
HTML documents are not installed in specified place
Can't find openjpeg.h when cross-compile.
OpenJPEG is available with EasyConfig
Building Test Programs
Builds are not reproducible
strange behaviour of opj_jp3d_compress/decompress utility
Potential heap-based buffer overflow in function t2_encode_packet in src/lib/openmj2/t2.c and src/lib/openjp3d/t2.c
Function tgatoimage in src/bin/jpwl/convert.c need to check that the file is big enough to avoid excessive memory allocations
memory & cpu are exhausted when converting jp2 file into png
Cannot compress PGX into JP3D despite following the directions?
sscanf buffer overflow in opj_jp3d_compress.c
integer underflow may lead to writing garbage
sscanf buffer overflow
strcpy overflows
sprintf buffer overflows
strcpy buffer overflow
integer overflow in malloc()
out of bounds writes
out of bounds writes
divide by zero, perhaps multiplication overflow
missing format string parameter
leaks from cppcheck in lib folder
How to initialize DEBUG_PROFILE in color.c?
JP3D sample files
BIG_ENDIAN bug in jpwl.c
OpenJPEG fails to decode partial j2c where kdu succeeds
building mj2 binaries fails
openmj2\mj2.c: Out of bounds
bin\mj2\opj_mj2_decompress.c 101 wrong check / leak
2022-05-15 19:24:10 +00:00
adam
4b7efaf8ef openjpeg: updated to 2.4.0
OpenJPEG 2.4.0

No API/ABI break compared to v2.3.1, but additional symbols for subset of components decoding (hence the MINOR version bump).

Encoder: add support for multithreading
Encoder: add support for generation of PLT markers
Encoder: single-threaded performance improvements in forward DWT for 5-3 and 9-7 (and other improvements)
Encoder: support IMF profiles
Many bug fixes (including security fixes)
2021-01-06 12:32:34 +00:00
adam
fea502265c openjpeg: update to 2.3.0
OpenJPEG 2.3.0:

No API/ABI break compared to v2.2.0 but additional symbols for subset of components decoding (hence the MINOR version bump).

* Sub-tile decoding: when setting a window of interest through the API function opj_set_decode_area(), only codeblocks that intersect this window are now decoded (i.e. MCT, IDWT, and entropy decoding are only done on the window of interest). Moreover, memory allocation now depends on the size of the window of interest (instead of the full tile size).

* Ability to decode only a subset of components. This adds the following function opj_set_decoded_components(opj_codec_t p_codec, OPJ_UINT32 numcomps, const OPJ_UINT32 comps_indices, OPJ_BOOL apply_color_transforms) and equivalent opj_decompress -c compno[,compno]* option.

* Many bug fixes (including security fixes)
2017-10-06 21:00:44 +00:00
adam
95b8e785a8 OpenJPEG 2.2.0:
This new release includes a significant number of improvements and bug fixes. In particular:
* Multi-threading support at decoding side
* Several speed optimisations both at encoder and decoder, and both on Wavelet Transform and Entropy Coding parts. On our test set, a single-threaded execution is now around 20% faster (encoding or decoding).
* Huge memory consumption reduction at decoding side (~60% reduction on large images)
* Several important bug fixes, in particular the one that was preventing OpenJPEG to encode lossless in some specific situations, as well as those related to mode switches (BYPASS/LAZY, RESTART/TERMALL, etc).
* Several security fixes thanks to the inclusion of OpenJPEG in the Google OSS Fuzz project.

Beside that, several improvements have been brought to the project maintenance, like inclusion of benchmarking scripts to compare speed with latest available kakadu binaries.

And, last but not least, API and ABI are 100% compatible with previous version.
2017-08-17 20:08:33 +00:00
adam
c4edf11e88 Changes 2.1.0:
New Features:
    * Digital Cinema profiles have been fixed and updated
        * New option to disable MCT if needed
    * extended RAW support: it is now possible to input raw images
          with subsampled color components (422, 420, etc)
    * New way to deal with profiles

API/ABI modifications: (see abi_compat_report in dev-utils/scripts)
    * Removed deprecated functions
            - opj_stream_create_default_file_stream(FILE*,...)
        - opj_stream_create_file_stream(FILE*,...)
        - opj_stream_set_user_data (opj_stream_t* p_stream, void * p_data)
        * Added
        - opj_stream_create_default_file_stream(char*,...)
        - opj_stream_create_file_stream(char*,...)
        - opj_stream_destroy(opj_stream_t*)
        - opj_stream_set_user_data (opj_stream_t* p_stream, void * p_data,
            ... opj_stream_free_user_data_fn p_function)
        - JPEG 2000 profiles and Part-2 extensions defined through '#define'
    * Changed
        - 'alpha' field added to 'opj_image_comp' structure
        - 'OPJ_CLRSPC_EYCC' added to enum COLOR_SPACE
        - 'OPJ_CLRSPC_CMYK' added to enum COLOR_SPACE
        - 'OPJ_CODEC_JPP' and 'OPJ_CODEC_JPX' added to CODEC_FORMAT
          (not yet used in use)
        - 'max_cs_size' and 'rsiz' fields added to opj_cparameters_t

Misc:
    * OpenJPEG is now officialy conformant with JPEG 2000 Part-1
          and will soon become official reference software at the
          JPEG committee.
        * Huge amount of bug fixes. See CHANGES for details.
2014-05-15 14:14:54 +00:00
adam
f438e14c49 Changes 2.0.1:
New Features:
    * Digital Cinema profiles have been fixed and updated
    * New option to disable MCT if needed
    * extended RAW support: it is now possible to input raw images
      with subsampled color components (422, 420, etc)

API/ABI modifications: (see abi_compat_report_2.0.1.html in dev-utils/scripts)
    * No changes, API/ABI fully compatible with 2.0.0

Misc:
    * OpenJPEG is now officialy conformant with JPEG 2000 Part-1
      and will soon become official reference software at the
      JPEG committee.
    * Huge amount of bug fixes. See CHANGES for details.
2014-04-24 19:39:05 +00:00
adam
11ede8269d Changes 2.0.0:
New Features:
    * streaming capabilities
    * merge JP3D

API modifications:
    * Use a 64bits capable API

Misc:
    * removed autotools build system
    * folders hierarchies reorganisation
    * Huge amount of bug fixes. See CHANGES for details.
2012-12-06 17:09:18 +00:00
drochner
5317c1793d update to 1.5.0
This fixes a vulnerability caused due to an error when parsing a CMAP
record which can be exploited to cause an out-of-bounds write via
specially crafted JPEG files. (SA48498)
2012-03-24 13:25:00 +00:00
joerg
e821e4e99b Import openjpeg-1.3:
The OpenJPEG library is an open-source JPEG 2000 codec written in C.  It
has been developed in order to promote the use of JPEG 2000 and is
licensed under a BSD license.
2010-09-09 02:15:22 +00:00