The NetBSD Project

CVS log for pkgsrc/graphics/libheif/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / graphics / libheif

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Jun 1 11:05:37 2026 UTC (5 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, HEAD
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -0 lines
libheif: update to 1.23.0.

This is a smaller release that adds API functions to read and write metadata:

    ambient viewing environment
    nominal diffuse white luminance

It also adds a output_image_nclx_profile_passthrough option to
heif_decoding_options to pass through the input image NCLX without
doing any internal color conversion.

Security

    CVS TBD (GHSA-jvmp-j3cw-84mh) - unbounded heap allocation in HEIF sequence parser (stsz fixed-size mode missing bound check)

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun May 24 18:01:14 2026 UTC (5 months, 3 weeks ago) by wiz
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -0 lines
libheif: update to 1.22.0.

This is a large release with substantial new functionality, mainly
focusing on generalized image formats (e.g., multi-spectral images)
and a reworked implementation of ISO/IEC 23001-17 (lossless image
codec).

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jan 5 01:55:49 2026 UTC (10 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q1-base, pkgsrc-2026Q1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -0 lines
libheif: update to 1.21.1.

Workaround for c++17 stopped working, now really needs c++20 (like
it said for a couple releases already).

Changes:

1.21.1

This patch release only fixes a build error with some GCC versions because of a missing #include.
If you didn't get any build error, you do not need this updated patch release.

1.21.0

This release adds full support for reading and writing HEIF image sequences.
libheif will now encode HEIF image sequences with all included codecs.
Since HEIF image sequences are very similar to MP4 videos, this new version is also capable of decoding most MP4 videos (without audio, of course).

heif-enc documentation for sequence encoding
API documentation for reading and writing sequences

Other major changes:

    Support for image sequences with alpha channels. For most codecs, the alpha channel will be stored in a separate, auxiliary, monochrome track. For ISO/IEC 23001-17 (uncompressed) streams, the alpha channel is stored in the main video track.
    Support for sequence track edit lists to define the number of sequence repetitions (without actually repeating the video data).
    New encoder plugin using x264 to write H.264-compressed video streams and images.
    The FFmpeg decoder plugin will now decode both H.265 and H.264.
    Support for HEIF text items and language properties (thanks to @bradh).

CVEs fixed:

    CVE-2025-68431

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Jul 6 09:29:13 2025 UTC (16 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +17 -0 lines
libheif: update to 1.20.1.

1.20.1

Fixes a bug in decoder plugin loading.

1.20.0

Sequences:

    API for reading and writing image sequences.
    You can read and write sequences for all codecs (not just H.265 / AV1, but also JPEG-2000, ISO-23001-17 uncompressed, ...).
    Currently only intra-coded sequences are supported.
    API for reading and writing metadata sequences.
    The metadata tracks can contain any raw timed data.
    Support for SAI (sample auxiliary information).
    Timed samples (from image sequences or metadata) can have auxiliary data attached.
    Currently we support TAI timestamps and GIMI content description IDs.
    Support for track references.
    The API for sequences is described here:
    https://github.com/strukturag/libheif/wiki/Reading-and-Writing-Sequences
    New command line tool heif-view to show HEIF sequences (requires libSDL).

Other new features:

    You can specify a security limit for the maximum total memory libheif may use for decoding.
    This is easier to handle than specifying limits on the maximum image size or single memory allocations.
    Support for TAI timestamps (in images and sequences) has been promoted from
    experimental to stable.
    FFMPEG plugin now supports HDR decoding
    Header files are now split into individual headers by topic.
    However, it should still be backwards compatible with heif.h being a catch-all covering the old content.
    For new functionality (sequences, TAI), you will need to include the specific headers.
    All struct names of the API are now also typedefs.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Aug 11 06:40:35 2024 UTC (2 years, 3 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -0 lines
libheif: update to 1.18.2.

fixes:

fix regression that Exif orientation was not correctly reset when converting rotated HEIF (heif-dec)
swap Exif width/height when rotating image by 90 degrees
fix memory leak in OpenJPEG decoding plugin
pay attention to DESTDIR variable when installing heif-convert symlink

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jul 14 13:01:25 2024 UTC (2 years, 4 months ago) by wiz
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -2 lines
libheif: update to 1.18.0.

now reads images generated by iOS 18
heif-convert has been renamed to heif-dec
encoding: property item boxes with identical content are reused
experimental codec plugins for VVC (vvenc/vvdec and uvg266)
experimental codec plugin for OpenJPH (High-throughput JPEG2000)
support ISO 23001-17 version 1 uncC minimized headers
support ISO 23001-17 images with 'deflate', 'zlib' and Brotli compression
heif-enc can read TIFF images
API functions to read/write raw items and item properties
many bug fixes and smaller enhancements

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Nov 7 21:39:17 2023 UTC (3 years ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +4 -3 lines
libheif: update to 1.17.3.

1.17.3

Bug fix #1026: corrected transform box generation for heif_orientation_flip_vertically and heif_orientation_rotate_90_cw_then_flip_vertically

1.17.2

Corrections:

    #1010 loading of HEIF files with extra zero bytes at the end
    #1015 / #1017 default nclx values now match sRGB
    support JPEG2000 images with alpha channel
    various smaller fixes

1.17.1

This release mainly fixes compilation and build issues for various platforms.

Other changes:

    fix issue of loading images with premultiplied alpha channel,
    correctly set compatible_version for macOS dylib builds,
    fix loading HDR PNGs, but encoding them as 8-bit SDR,
    fix saving AVIF with alpha using the SVT-AV1 encoder,
    @kleisauke has modernized the JS wrapper (thanks!).

v1.17.0 - Many new compression formats and codecs

This release introduces support for new compression formats:

    JPEG in HEIF
    JPEG2000

It contains these new codec plugins:

    Kvazaar encoder (HEIC) as alternative to x265
    ffmpeg decoder (HEIC) decoding with potential hardware decoder support
    jpegdec, jpegenc codecs for JPEG in HEIF
    j2kdec, j2kenc codecs for JPEG-2000 in HEIF (still experimental)

Moreover:

    added support for region masks
    added support for alpha channels in images decoded with JS/WASM
    heif-enc and heif-convert can be called with only input filenames, input and output filename, or with -o option. This makes the use of the two commands more consistent.
    added 4:2:2 <-> 4:4:4 color conversion with bilinear upscaling / average filtering

Some more notable changes:

    heif_context_get_image_handle() can now also access non-top-level images
    add script to build Android libraries for all platforms
    again, known bugs have been fixed

Thank you everyone who contributed with code or issue reports.
Special thanks go to @bradh for work on the regions support and
the uncompressed codec, to @dukesook for his work on JPEG2000
support, to @palemieux for our discussions on interpreting the
JPEG2000-in-HEIF standard, to @Edi61 for providing the ffmpeg
decoder plugin, to @fancycode who will again do the Debian packaging,
and to @kmilos for continuously reporting and fixing compilation
and configuration issues.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Jul 11 22:36:43 2023 UTC (3 years, 4 months ago) by abs
Branches: MAIN
CVS tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -2 lines
Add svt-av1 buildlink3.mk

Fixed build issue if svt-av1 is installed. Bump PKGREVISION

(Timeout from "OK to commit?" email sent 2023-05-09)

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Mar 30 21:41:50 2023 UTC (3 years, 7 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +6 -3 lines
libheif: update to 1.15.2.

Switch to CMake since upstream will deprecate autoconf.
Remove merged patch.

v1.15.2 - maintenance release Latest

    Fixes an incompatibility with AOM v3.6.0.
    A couple of smaller fixes.

v1.15.1 - fix compilation without plugins

build fix only


v1.15.0 - Windows plugins / CLLI, MDCV, PASP boxes

    codec plugin system now also works with Windows
    heif_convert: manually choose which decoder should be used
    support for CLLI (content light level box), MDCV (mastering display colour volume), PASP (pixel aspect) information
    ICC profile support in gdk-pixbuf loader
    various fixes

v1.14.2 - maintenance

A function name typo in the C++ wrapper was corrected in v1.14.1, but the old function name should not have been removed from the API
(ColorProfile_nclx::set_color_primaries()). The old name is added to the API again in this release.

This is the only change in this update.

v1.14.1 - maintenance release

This release fixes

    various issues is the build system
    encoding images smaller than 64x64 with svt-av1
    the 'quality' parameter for svt-av1
    a potentially wrong image orientation for PNG inputs
    crash on non-null terminated XMP input
    HDR RGB to YCbCr conversion coefficients for limited range coefficients

1.14.0 - codec plugins / svt-av1 backend

    adds SVT-AV1 encoder as AVIF backend
    dynamic plugin interface for installing codecs independently from libheif (currently Unix only)
    add XMP header compression (using zlib)
    library should now be initialized with heif_init()
    heif_convert: extract EXIF and XMP to separate files
    heif_enc: add benchmarking function to compare codecs
    copy EXIF/XMP between HEIC/AVIF files and JPEG/PNG in all kinds of combinations
    remove EXIF orientation tag from input when converting to HEIC/AVIF and generate irot/imir boxes matching the input orientation

Revision 1.1: download - view: text, markup, annotated - select for diffs
Mon Aug 31 17:24:12 2020 UTC (6 years, 2 months ago) by ryoon
Branches: MAIN
CVS tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3
graphics/libheif: import libheif-1.8.0

libheif is an ISO/IEC 23008-12:2017 HEIF and AVIF (AV1 Image File
Format) file format decoder and encoder.

HEIF and AVIF are new image file formats employing HEVC (h.265) or
AV1 image coding, respectively, for the best compression ratios
currently possible.

libheif makes use of libde265 for HEIF image decoding and x265 for
encoding.  For AVIF, libaom is used as encoder and decoder.
Alternative codecs for, e.g., AVC and JPEG can be provided as
plugins.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>