Closed alexsilva closed 2 months ago
Not sure if same type, but this and more AVIF files from https://www.rferl.org/a/russia-children-taken-ukraine/32527298.html aren't recognized:
https://dsqze93rovfg.cloudfront.net/ekpqf6v4fvfzzn7ea2jgq7bxcu.avif is not recognised as an AVIF; but I see an AVIF header if I get it, and raise_for_status
; and drop to a debugger to verify that the response status code is 200
Update: by using
import pillow_avif
then:
pillow_avif.AvifImagePlugin.AvifImageFile(io.BytesIO(response.content))
I get:
SyntaxError('Failed to decode image: BMFF parsing failed')
Many "fox.profile..." files from sample repositories are not recognized https://github.com/link-u/avif-sample-images
Is there any additional configuration to resolve this?