./graphics/charls, Jpeg-ls codec library

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


Branch: CURRENT, Version: 2.4.2, Package name: charls-2.4.2, Maintainer: pkgsrc-users

CharLS is a C++ implementation of the JPEG-LS standard for lossless and
near-lossless image compression and decompression.
JPEG-LS is a low-complexity image compression standard that matches
JPEG 2000 compression ratios.


Master sites:

Filesize: 9269.97 KB

Version history: (Expand)


CVS history: (Expand)


   2023-10-21 13:20:23 by Niclas Rosenvik | Files touched by this commit (3)
Log message:
charls: use platform independent cmake configure check for --version-script
   2023-10-02 22:03:25 by Niclas Rosenvik | Files touched by this commit (4) | Package updated
Log message:
graphics/charls: update to version 2.4.2

pkgsrc changes:
use cmake/build.mk instead of USE_CMAKE.
use USE_CXX_FEATURES.

Added
* Support for Windows on ARM64 in the MSBuild projects and CMake files.
* Support to read and write application data markers.
* Added method charls_validate_spiff_header to validate SPIFF headers.

Changed
* Improved compatibility of public headers with C++20.
* Switch order of APP8 and SOF55 markers during encoding to allign
  with user application data markers.

Fixed
* Multi component image with interleave mode none is not correctly
  decoded when a custom stride argument is used.
* jpegls_errc::destination_buffer_too_small incorrectly thrown for
  8 bit 2*2 image with stride = 4 during decoding.
* Decoding doesn't work when compiled with mingw64.
   2022-11-21 19:20:46 by Jonathan Perkin | Files touched by this commit (54)
Log message:
*: Re-apply SunOS linker argument removals.

These are currently duplicated in mk/platform/SunOS.mk but the generic
removals will be removed soon in favour of per-package removals, due to
flags getting leaked into installed files.
   2022-11-12 19:59:20 by Niclas Rosenvik | Files touched by this commit (4)
Log message:
Update graphics/charls to version 2.3.4

Changes from CHANGELOG.md:

# Change Log
## [2.3.4] - 2021-2-12

### Changed

- Replaced legacy test images.

## [2.3.3] - 2021-2-5

### Fixed

- Fixed [#167](https://github.com/team-charls/charls/issues/167),
  Decoding\Encoding fails on IBM s390x CPU (Big Endian architecture).

## [2.3.2] - 2021-1-29

### Fixed

- Fixed https://github.com/team-charls/charls/issues/160,
  warning: cast from 'unsigned char*' to 'uint16_t*'
  increases required alignment of target type.
- Fixed https://github.com/team-charls/charls/issues/161 ,
  warning: useless cast to type 'size_t' {aka 'unsigned int'}
  [-Wuseless-cast].

### Changed

- Updates to the CMakeLists.txt for Unix builds (except macOS)
  to hide more symbols from the shared library.
- C++14 is now the minimum version instead of explicitly required.
  This allows consuming applications more flexibility.
  Typically CMake will select the latest C++ standard version that
  the used C++ compiler supports.

## [2.3.1] - 2021-1-25

### Fixed

- Fixed https://github.com/team-charls/charls/issues/155 ,
  charls::jpegls_decoder::decode: 2 overloads have similar conversions
  in v2.3.0

## [2.3.0] - 2022-1-24

### Added

- The encoder API has been extended with a rewind method that can be
  used to re-use a configured encoder to encode multiple images in a loop.
- Added support to decode JPEG-LS images that use restart markers
  https://github.com/team-charls/charls/issues/92 .
- Added support to write and read comment (COM) segments
  https://github.com/team-charls/charls/issues/113 .
- Added support to encode/decode oversized images
  (width or height larger then 65535).
- Extended the validation of the encoded JPEG-LS byte stream during decoding.
- Added support to encode JPEG-LS images with:
  - The option to ensure the output stream has an even size.
  - The option to write the CharLS version number as a comment (COM segment)
    to the output stream.
  - The option to write the coding parameters to the output stream if
    the bits per pixel are larger then 12 (enabled by default).
- Usage of compiler specific attributes on the public API as replacement for
  ``[[nodiscard]]`` (which is a C++17 feature).

### Fixed

- Fixed https://github.com/team-charls/charls/issues/84 ,
  Default preset coding parameters not computed for unset values.
- Fixed https://github.com/team-charls/charls/issues/102 ,
  CMake find_package(charls 2.2.0 REQUIRED) not working.

### Changed

- CMakeSettings.json has been replaced with CMakePresets.json.
- Non default coding parameters are explicitly stored in
  the output stream during encoding.
- GCC shared library release builds are now using LTO
  (Link Time Optimization).
- Some functions use compiler intrinsics for slightly better performance.

## [2.2.1] - 2022-2-3

### Fixed

- Backport of fix for https://github.com/team-charls/charls/issues/167 ,
  Decoding\Encoding fails on IBM s390x CPU (Big Endian architecture).
   2021-10-26 12:47:26 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:13:27 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Remove SHA1 hashes for distfiles
   2021-02-14 13:55:18 by Thomas Klausner | Files touched by this commit (2)
Log message:
charls: simplify Makefile
   2021-02-14 12:51:57 by Niclas Rosenvik | Files touched by this commit (5)
Log message:
Add charls version 2.2.0 to pkgsrc

charls is a bsd licensed jpeg-ls library