Skip to content
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

avif decoder error #1930

Open
xxaier opened this issue May 16, 2023 · 0 comments
Open

avif decoder error #1930

xxaier opened this issue May 16, 2023 · 0 comments

Comments

@xxaier
Copy link

xxaier commented May 16, 2023

this avif 1.avif.zip

image::guess_format is UnsupportedError

with file header[3] == 24

[src/lib.rs:46] &format = Avif
[src/lib.rs:53] &bin[..12] = [
0,
0,
0,
24,
102,
116,
121,
112,
97,
118,
105,
102,
]
[src/lib.rs:54] b"\0\0\0\x1cftypavif" = [
0,
0,
0,
28,
102,
116,
121,
112,
97,
118,
105,
102,
]

avif decoder error
image

[src/lib.rs:55] image::guess_format(bin) = Err(
Unsupported(
UnsupportedError {
format: Unknown,
kind: Format(
Unknown,
),
},
),
)
✘ [fail]: img → jpg Rejected promise returned by test

img → jpg

Rejected promise returned by test. Reason:

Error {
code: 'GenericFailure',
message: 'The image format could not be determined',
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants