Skip to content

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented Sep 11, 2024

I've updated to vanilla libavif 1.1.1, and patched to cater to our naming conventions (libavif_a.lib). A build (using https://github.com/winlibs/winlib-builder/tree/cmb/avif-111 and AOM v3.10.0) showed no issues when running the gd test suite, and would also resolve php/php-src#13919 (tested all three images).

Updating libavif for PHP 8.4 seems to be a no-brainer, but I'm not quite sure about PHP 8.2 and 8.3.

(And something to consider for the future: including AVIF support into GD drastically blew up the size of php_gd.dll; maybe that should be alleviated for those not requiring AVIF support at all. Especially considering that HEIF support might also be added, and maybe further image formats; thinking of JPEG XL. This is something to be catered to by php-src, but we would need to build shared libavif DLLs.)

@cmb69
Copy link
Member Author

cmb69 commented Sep 11, 2024

Oh, the .github/ folder should probably be dropped. It is somewhat unfortunate, that libavif apparently doesn't ship release tarballs.

@cmb69
Copy link
Member Author

cmb69 commented Sep 11, 2024

Oh, the .github/ folder should probably be dropped.

I've disabled any actions for this repository; that should make further updates to libavif "easier". We can re-enable if there is the need to.

@cmb69 cmb69 merged commit 16b7805 into master Oct 28, 2024
@cmb69 cmb69 deleted the cmb/1.1.1 branch October 28, 2024 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AVIF image errors

2 participants