Closed mhf-ir closed 1 year ago
This looks like an AVIF sequence file (the mime type is image/avif-sequence
), which are unsupported. Please see https://github.com/lovell/sharp/issues/2870#issuecomment-908972088
how do you detect mime type?
detect it as image/avif
$ heif-info <(curl -s https://colinbendell.github.io/webperf/animated-gif-decode/1.avif)
MIME type: image/avif-sequence
main brand: avis
compatible brands: avis, msf1, miaf, MA1B
https://manpages.ubuntu.com/manpages/jammy/man1/heif-info.1.html
I hope this information helped. Please feel free to re-open with more details if further assistance is required.
Possible bug
Is this a possible bug in a feature of sharp, unrelated to installation?
npm install sharp
completes without error.node -e "require('sharp')"
completes without error.Are you using the latest version of sharp?
sharp
as reported bynpm view sharp dist-tags.latest
.If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of
sharp
that is not the latest, please open an issue against that package instead.What is the output of running
npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp
?What are the steps to reproduce?
What is the expected behaviour?
work like charm
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem
Please provide sample image(s) that help explain this problem
Not working version: https://colinbendell.github.io/webperf/animated-gif-decode/1.avif
Working version: 2.zip
mime type
Exif output of not working version:
Exif output of working version: