Here is an update to libheif 1.16.2.

v1.16.0 - Regions / chroma quality / uncompressed codec

This is a large release with many new features.

- Support for HEIFv2 regions (rgan) and user annotations (udes). This enables
to annotate regions in the image with several geometric primitives and assign
user text descriptions to them. Thank you @bradh for the contributions. Mask
support will be added soon.
- Previously, chroma was downsampled and upsampled with a simple
nearest-neighbor method. We now included the sharp-yuv chroma
downsampling algorithm. This gives improved image quality when
images are downsampled to 4:2:0 and upsampled with bilinear
interpolation. Thank you @maryla-uc for the contributions.
- The bilinear chroma upsampling and averaging downsampling algorithms are
also new. You can choose what to use.
- We added experimental support for decoding uncompressed images according to
ISO/IEC 23001-17:2023. This is work in progress and currently decoding only.
Thank you @bradh for the contributions.
- There are new APIs to query the image transformations. Thus, you may choose
to get the original image and apply the transformations yourself.
- A longstanding bug writing non-compliant 'ispe' boxes (image size) has been
fixed. Files should be standard compliant now.
- When building binary packages, you can now make use of a CMake presets to set
a default configuration.
- The deprecated autotools build files have been removed.


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/multimedia/libheif/Makefile,v
retrieving revision 1.11
diff -u -p -u -p -r1.11 Makefile
--- Makefile    9 Apr 2023 06:07:08 -0000       1.11
+++ Makefile    21 Jun 2023 09:33:03 -0000
@@ -1,9 +1,9 @@
 COMMENT=       HEIF and AVIF file format decoder and encoder
 
-V=             1.15.2
+V=             1.16.2
 DISTNAME=      libheif-$V
 
-SHARED_LIBS +=  heif                      1.5 # 9.0
+SHARED_LIBS +=  heif                      1.6 # 9.0
 
 CATEGORIES=    multimedia graphics
 
@@ -13,7 +13,7 @@ HOMEPAGE=     https://github.com/strukturag/
 PERMIT_PACKAGE=        Yes
 
 WANTLIB += ${COMPILER_LIBCXX} aom c dav1d de265 gdk_pixbuf-2.0
-WANTLIB += glib-2.0 gobject-2.0 intl jpeg m png x265 z
+WANTLIB += glib-2.0 gobject-2.0 intl jpeg m png sharpyuv x265 z
 
 MASTER_SITES=  https://github.com/strukturag/libheif/releases/download/v$V/
 
@@ -22,6 +22,7 @@ COMPILER=     base-clang ports-gcc
 MODULES=       devel/cmake
 
 LIB_DEPENDS=   graphics/gdk-pixbuf2 \
+               graphics/libwebp \
                multimedia/aom \
                multimedia/dav1d \
                multimedia/libde265 \
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/multimedia/libheif/distinfo,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 distinfo
--- distinfo    9 Apr 2023 06:07:08 -0000       1.7
+++ distinfo    21 Jun 2023 08:12:12 -0000
@@ -1,2 +1,2 @@
-SHA256 (libheif-1.15.2.tar.gz) = ekxgd/RRgJJlg+IIdXE3G92cshtub62oWm+9VE8moOI=
-SIZE (libheif-1.15.2.tar.gz) = 1749773
+SHA256 (libheif-1.16.2.tar.gz) = f5fkIFwL2fm4VgU2yL0uhB0cmm1hBAHrPrh+2c3+eOo=
+SIZE (libheif-1.16.2.tar.gz) = 1339068

Reply via email to