Skip to content

Update to libavif 1.1.1 #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 28, 2024
Merged

Update to libavif 1.1.1 #3

merged 2 commits into from
Oct 28, 2024

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
18 of 61 checks passed
@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
1 participant