Avif file not displayed
Categories
(Core :: Graphics: ImageLib, defect, P3)
Tracking
()
People
(Reporter: padenot, Assigned: jbauman)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
9.36 KB,
image/avif
|
Details |
See the file attached. It is from this service:
This particular avif file has been generated like so:
https://cdn.shortpixel.ai/client/to_avif,q_lossless,ret_img,w_150/<URL HERE>
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
The file here is invalid. As AVIF is based on MIAF, files must conform to the MIAF requirements as well, one of which is a requirement to include mif1
in the compatible brands section of the ftyp box. Specifically in section 7.2.1.2:
The FileTypeBox shall contain, in the compatible_brands list [...] mif1
Compare the ftyp
box of this file (which continues until the beginning of the meta
box):
$ hexdump -C -n 24 bug-1687443.avif
00000000 00 00 00 10 66 74 79 70 61 76 69 66 00 00 00 00 |....ftypavif....|
00000010 00 00 01 26 6d 65 74 61 |...&meta|
With a valid one:
hexdump -C -n 40 Monochrome.avif
00000000 00 00 00 20 66 74 79 70 61 76 69 66 00 00 00 00 |... ftypavif....|
00000010 6d 69 66 31 61 76 69 66 6d 69 61 66 4d 41 31 42 |mif1avifmiafMA1B|
00000020 00 00 01 1b 6d 65 74 61 |....meta|
I'm currently looking for the right place to file a bug with shortpixel's tool, but would appreciate a pointer if anyone reading this knows where the right place is or where exactly the code they're using for generating the ftyp
header resides.
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Description
•