avif file using grid doesn't display
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
People
(Reporter: guentherhanslphdyt, Unassigned)
Details
Attachments
(1 file)
9.10 KB,
image/avif
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/113.0
Steps to reproduce:
I converted a jpg image to avif using Paint dot Net.
I then tried to get it to display in a <picture> element, but FF said the picture is corrupted. The network dev tool showed a 0x0 px file, which is definitely corrupt in some way.
Google Chrome does not have this issue, it displayed the file just fine.
The file is attached to this issue.
Other avif file from other websites work fine. If the jpg is converted to avif using an online converter, Firefox also doesn't complain. So this must be an issue with the specific file structure or something like that.
I believe this is an issue in Paint dot Net as well as Firefox, because Chrome displays the file just fine.
The AVIF validator only gave warnings, no errors.
Actual results:
Firefox doesn't display the file, but also doesn't load the next <source> element or the fallback <img> with the jpg file to get rid of the error.
When going to the file URL, FF says the file has errors.
Expected results:
Display the image like Chrome does without complaining.
Comment 1•11 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Networking' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•11 months ago
|
Updated•11 months ago
|
This error seems to only occur when the "Fast" preset in Paint dot net is used for the export.
With that preset, the AVIF validator throws warnings about tile width and height not being multiples of 64.
If any other preset is chosen, it doesn't throw warnings. So this bug is potentially related to these tile dimensions not matching an expected format.
Updated•11 months ago
|
Description
•