Closed Bug 1836660 Opened 11 months ago Closed 11 months ago

avif file using grid doesn't display

Categories

(Core :: Graphics: ImageLib, defect)

Firefox 113
defect

Tracking

()

RESOLVED DUPLICATE of bug 1696090

People

(Reporter: guentherhanslphdyt, Unassigned)

Details

Attachments

(1 file)

Attached image lenni_pdn.avif

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.

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.

Component: Untriaged → Networking
Product: Firefox → Core
Component: Networking → Graphics: ImageLib
Status: UNCONFIRMED → NEW
Ever confirmed: true

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.

Status: NEW → RESOLVED
Closed: 11 months ago
Duplicate of bug: 1696090
Resolution: --- → DUPLICATE
Summary: avif file doesn't display → avif file using grid doesn't display
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: