Up to [cvs.NetBSD.org] / pkgsrc / graphics / libheif
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
*: recursive bump for jpeg -> libjpeg-turbo switch
libheif: also needs <filesystem>
libheif: remove unused dav1d dependency Noted by dholland@ in PR 59248.
graphics/libheif: Give tests a chance to pass on macOS too. No change to the build, so no revbump.
graphics/libheif: C++20 is not needed, only C++17. libheif uses std::optional, which is new in C++17, so C++11 is not enough. Tested on netbsd-9 with pkgsrc gcc10.
libheif: update to 1.19.7. 1.19.7 Fixes a build error with SVT-AV1 encoder plugin when using reduced symbol visibility (#1480). 1.19.6 Bugfix release. Additionally, there are the following changes: C++ and Go wrapper licenses have been changed to MIT supports SVT-AV1 v3.0.0 encoder support emscripten builds for ES6 modules
*: recursive bump for openh264
libheif: update to 1.19.5. 1.19.5 fix heif_image_handle_is_premultiplied_alpha() #1394 1.19.4 Fixes a few minor bugs: fix crash when encoding tiled unci images fix crash in heif_context_encode_grid() fix querying the preferred colorspace for monochrome AVIF files error when using a chroma format or bit depth that is not supported by the Kvazaar plugin output proper error message when memory allocation failed and use user-defined security limits heif-dec: do not show progress when option --quiet it given
libheif: update to 1.19.3. fixes a race condition that may lead to some image tiles not being included in the output image (#1379) fix a potential crash when querying overlay image information
libheif: now requires c++20.
libheif: add upstream commit to revert API change Fixes py-pillow_heif. Bump PKGREVISION.
libheif: update to 1.19.2. fix DLL symbol export for non MSVC-compilers on Windows fix running the unit tests from the build directory when building with plugins switch to catch2 testing framework. We can now check for prerequisites at runtime and skip tests accordingly
libheif: depend on openh264 (building fails when openh264 is installed)
libheif: update to 1.19.1. 1.19.1 Fixes backwards compatibility of heif_context_set_maximum_image_size_limit() (#1359). v1.19.0 - tile access for high-resolution images The major new feature in this release is the decoding of separate image tiles and also encoding an image tile by tile. This allows to process high-resolution images that do not fit into memory. We support three tiling methods: grid, which is the default tiling method used in most existing HEIC or AVIF images. unci, which is the built-in tiling method of the ISO 23001-17 uncompressed codec. tili, which is a proprietary scheme with much less overhead than grid and which supports efficient streaming of high-resolution images over networks without having to download huge amounts of metadata before the first tile can be decoded. It also supports much larger images than possible with grid. As an extra, it supports the processing of multi-dimensional images, like 3D image cubes, or image sets addressed by several parameter dimensions, for example multi-spectral images. See the specification of this format. Developers will find more information in the tiling API documentation. Also check out the example viewer for tiled images and the example images on this page. The heif-enc command line tool can now also encode tiled and multi-resolution pyramids. See the description. Other changes: decoding is faster, especially if you let libheif decide on the best colorspace to work in by passing heif_colorspace_unknown and heif_chroma_unknown to heif_decode_image(). It will then use the input colorspace and avoid unnecessary conversions. support for multi-resolution pyramids (pymd) to show downscaled versions of high-resolution images improved reader interface that enables to connect libheif to a network source. Libheif will request the portions of the image file that have to be downloaded from the server. This is especially useful in connection with the tiling / multi-resolution pyramid feature. function to generate overlay images decoding progress is signaled to the client application and decoding can be cancelled decoding of AVC encoded images through OpenH264 security limits can be changed to be able to read very large images This is a big release with the help of many people reporting issues or providing contributions. Thank you to all of them!
Revbump for x265
graphics/libheif: Fix build failure with multimedia/x265-4.0
*: revbump for svt-av1 shlib bump
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
libheif: update to 1.18.1. This releases fixes the syntax of the vvcC box and a few build issues.
ilibheif: disable libtiff detection
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
*: bump for x265 API change Reported by Marc Baudoin
libheif: update to 1.17.6. A couple of build fixes and bug fixes detected by fuzzing. Corrects these issues: CVE-2023-49462 - #1043 CVE-2023-49463 - #1042
libheif: update to 1.17.5. 1.17.5 Fixes installation of the Gnome "heif.thumbnailer" config file. No other fixes than that. 1.17.4 Fixes: ispe boxes in AVIF images with clap boxes were written with the wrong size (would only happen with svt-av1 encoder), always output MIAF brand for AVIF images fix kvazaar encoding with odd image sizes and encodings with non-4:2:0 chroma
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.
*: recursive bump for dav1d 1.3
libheif: fix build on Darwin, remove unused patch, cleanups
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)
libheif: Disable rav1e option explicitly If you have installed multimedia/rav1e, the build fails.
libheif: update to 1.16.2. This release adds an option to heif-convert to set the PNG compression level, fixes a few build issues with some compilers, fixes the --encoder option in heif-enc, fixes heif_item_get_properties_of_type and heif_item_get_transformation_properties.
libheif: update to 1.16.1. v1.16.1 - fix building gdk-pixbuf loader Latest Small maintenance update that fixes building the gdk-pixbuf loader. The source package name has also been changed back to the old naming scheme. 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.
libheif: enable dav1d Remove gcc workaround, not needed on NetBSD 10. Bump PKGREVISION.
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
libheif: update to 1.13.0. pay attention to the correct chroma sample positions heif_image now holds a list of decoding warnings use AOM AOM_USAGE_ALL_INTRA mode instead of AOM_USAGE_GOOD_QUALITY 'strict' decoding mode with more checks for standard conformity of input support for EXIF data >64k in JPEG output proper library initialization and cleanup separate quality settings for alpha channel (AOM) improve color conversion speed (no lroundf) build and packaging fixes
Recursive revbump for multimedia/libaom
libheif: fix building with Clang
libheif: update to 1.12.0. check for MIAF conformance and add as compatible brand signaling of premultiplied alpha parse AV1 obu_sequence_header for av1C box write pixi box in AVIFs save alpha as monochrome in AVIF if possible many build fixes (thanks to the numerous external contributors)
Revbump for multimedia/x265 update
libheif: Update to 1.11.0 Changelog: fix writing ispe box in HEIFs nclx output profile encoding parameters change the way nclx profiles is written so that macOS can read them API for listing file brands and checking file type fix heif_image_handle_get_depth_image_representation_info()
libheif: update to 1.10.0. v1.10.0 - read all auxiliary images, improve macOS compatibility new API: may access all (vendor-dependent) auxiliary images (e.g. hdrgainmap, semanticskinmatte, ...) change the way images with odd sizes are written so that macOS can read them when ICC profile is present, will now write two colr boxes (nclx and ICC) into AVIF files. Also reads files with two colr boxes alpha image is now saved as monochrome loading of 16bit greyscale PNGs in heif_enc heif_enc, option "-E" deprecated remove dependency on alloca() fix known bugs
libheif: Fix build under NetBSD/amd64 8 Disable -Werror=maybe-uninitialized for NetBSD. Reported by gdt@. Thank you.
Do not pick up GCC's Go backend.
libheif: Fix build on FreeBSD pkgsrc changes: --------------- * Add preprocessor test for stdlib.h inclusion on FreeBSD * Bump revision
libheif: Update to 1.9.1 Changelog: 1.9.1 fixed missing inline definition in C++ wrapper 1.9.0 add dav1d decoder plugin for faster decoding of AVIF images support for images having both ICC and NCLX profiles save NCLX profiles to AV1/HEVC bitstreams and also read them from the bitstream add color profile API to C++ wrapper improve rounding in color conversions conformant encoding of AVIF images <16 pixels many fixes and small improvements
libheif: Remove stray erroneous line
graphics/libheif: Fix build with gcc 7.5 Fix build on platforms with gcc 7.5, like SmartOS.
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.