Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently Debian 11 (bullseye, which is used in
php-fpm
Docker image until8.0
) only supportsv0.8.4
libavif-bin
package, however someavifdec
options are only introduced inv0.9.3
.Right now
v0.8.4
'savifdec
command produces the following error:Too many positional arguments: 0
And unfortunately there's another issue with
avifenc
command's older version:ERROR: Failed to encode image: No codec available
(ref)Removing the following
avifdec
parameters would fix the decoding command:--ignore-icc
: Set PNG compression level (PNG only; 0-9, 0=none, 9=max). Defaults to libpng's builtin default.--no-strict
: Disable strict decoding, which disables strict validation checks and errors--png-compress 0
: If the input file contains an embedded ICC profile, ignore itUnfortunately, there's no easy fix for
avifenc
's missing codec issue.There 2 possible solutions for the situation:
php:8.1-fpm
andphp:8.2-fpm
Docker imagesbullseye-backports
as source and install a more recent versionlibavif-bin
: