Issue providing Avif as the input
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 467
- Forks
- 65
- PR merge metrics
- No merged PRs in 30d
Description
I can get this plugin working with jpg, svg etc, but if I provide an avif file as my input I always seem to get the following error message:-
heif: Invalid input: Unspecified: Bitstream not supported by this decoder
I don't know if this is a bug or if I am doing something wrong. All my images are already avifs, I am simply wanting the plugin to provide me with smaller sizes.
I am using Eleventy 3, Node 23, Eleventy-img 6.
I have tried going back previous versions to no avail. Even trying to force an older version of Sharp.
The docs appear to suggest that Avif is an acceptable input so I am not sure what is going wrong here..
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the AVIF input failure with Eleventy 3, Node 23, and Eleventy-img 6, then compare behavior across the attempted versions and Sharp configurations. Check the AVIF input path and the documentation that says AVIF is supported. Done means identifying whether this is a compatibility bug or unsupported input and documenting or correcting the behavior accordingly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100