./graphics/openjpeg, JPEG 2000 library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.3.1nb2, Package name: openjpeg-2.3.1nb2, Maintainer: pkgsrc-users

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.


Required to run:
[graphics/tiff] [graphics/png] [graphics/lcms2]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 38321fa9730252039ad0b7f247a160a8164f5871
RMD160: 31b75aa70f5d26dd1b7e374a9e4b6be1842fefe7
Filesize: 2162.501 KB

Version history: (Expand)


CVS history: (Expand)


   2020-01-26 18:32:28 by Roland Illig | Files touched by this commit (981)
Log message:
all: migrate homepages from http to https

pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
   2020-01-07 21:19:46 by Sevan Janiyan | Files touched by this commit (3)
Log message:
Patch for CVE-2019-12973
   2019-11-27 00:24:25 by Sevan Janiyan | Files touched by this commit (2)
Log message:
pasto
   2019-11-27 00:10:22 by Sevan Janiyan | Files touched by this commit (3)
Log message:
Patch for CVE-2018-16376
   2019-04-03 10:04:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
openjpeg: updated to 2.3.1

v2.3.1:
v2.2.0 regression for decoding images where TNsot == 0
Int overflow in jp3d
Heap buffer overflow in opj_j2k_update_image_data() triggered with Ghostscript
LINUX install doesn't work when building shared libraries is disabled
OPENJPEG null ptr dereference in openjpeg-2.3.0/src/bin/jp2/convert.c:2243
How to drop certain subbands/layers in DWT
where is the MQ-Coder ouput stream in t2.c?
OpenJPEG 2.3 (and 2.2?) multi component image fails to decode with KDU v7.10
Missing checks for header_info.height and header_info.width in function \ 
pnmtoimage in src/bin/jpwl/convert.c, which can lead to heap buffer overflow
Assertion Failure in jp2.c
Division-by-zero vulnerabilities in the function pi_next_pcrl, pi_next_cprl and \ 
pi_next_rpcl in src/lib/openjp3d/pi.c
Precinct switch (-c) doesn't right-shift last record to remaining resolution levels
Sample: encode J2K a data using streams???
HIGH THROUGHPUT JPEG 2000 (HTJ2K)
How to build openjpeg for arm linux?
crash
JP2000 returning OPJ_CLRSPC_UNKNOWN color space
Compilation successful but install unsuccessful: Calling executables throws \ 
libraries missing error
fprintf format string requires 1 parameter but only 0 are given
fprintf format string requires 1 parameter but only 0 are given
sprintf buffer overflow
sprintf buffer overflow
Infinite loop when reading jp2
missing format string parameter
Excessive Iteration in opj_t1_encode_cblks (src/lib/openjp2/t1.c)
Out-of-bound left shift in opj_j2k_setup_encoder (src/lib/openjp2/j2k.c)
Encode image on Unsplash
Integer overflow in opj_t1_encode_cblks (src/lib/openjp2/t1.c)
Signed Integer Overflow - 68065512
Similar vulnerable functions related to CVE-2017-14041
[ERROR] COD marker already read. No more than one COD marker per tile.
failing to install latest version of openjpeg from source
Trouble compressing large raw image
Download and installed code from 2.3 archive. Installing 2.2?
missing fclose
NULL Pointer Access in function imagetopnm of convert.c(jp2):1289
NULL Pointer Access in function imagetopnm of convert.c:2226(jp2)
Heap Buffer Overflow in function imagetotga of convert.c(jp2):942

Merged pull requests:
abi-check.sh: fix broken download URL
opj_t1_encode_cblks: fix UBSAN signed integer overflow
convertbmp: detect invalid file dimensions early (CVE-2018-6616)
color_apply_icc_profile: avoid potential heap buffer overflow
Fix multiple potential vulnerabilities and bugs
Fix several memory and resource leaks
Fix some potential overflow issues
jp3d/jpwl convert: fix write stack buffer overflow
Int overflow fixed
Update knownfailures- files given current configurations
CVE-2018-5785: fix issues with zero bitmasks
openjp2/jp2: Fix two format strings
Changes in pnmtoimage if image data are missing
Relative path to header files is hardcoded in OpenJPEGConfig.cmake.in file
Cast on uint ceildiv
Add -DBUILD_PKGCONFIG_FILES to install instructions
Fix some typos in code comments and documentation
Fix regression in reading files with TNsot == 0 (refs
Use local type declaration for POSIX standard type only for MS compiler
Fix Mac builds
jp3d: Replace sprintf() by snprintf() in volumetobin()
opj_mj2_extract: Rename output_location to output_prefix
mj2: Add missing variable to format string in fprintf() invocation in meta_out.c
Convert files to UTF-8 encoding
fix unchecked integer multiplication overflow
Fixed typos
Note that seek uses SEEK_SET behavior.
Some Doxygen tags are removed
Fix resource leak (CID 179466)
Changed cmake version test to allow for cmake 2.8.11.x
Add missing fclose() statement in error condition.
   2018-01-07 14:04:44 by Roland Illig | Files touched by this commit (583)
Log message:
Fix indentation in buildlink3.mk files.

The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
   2017-10-06 23:00:44 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
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-08-17 22:08:33 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
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.