Closed Bug 1761119 Opened 3 years ago Closed 3 years ago

Animated PNG images are not recognized when using the `.apng` file extension.

Categories

(Firefox :: General, defect)

Firefox 98
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: emmetoneill.pdx, Unassigned, NeedInfo)

Details

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:98.0) Gecko/20100101 Firefox/98.0

Steps to reproduce:

I opened an animated PNG .apng image with Firefox.

Actual results:

Firefox doesn't seem to recognize the .apng file extension, so instead of displaying the animated image it opens the "Opening [file]" dialog.

Expected results:

It seems that both .png and .apng are valid file extensions for animated PNG files, so an animated PNG file ending with .apng should open and be displayed in a Firefox tab, just like it is when opened with the .png file extension.

The Bugbug bot thinks this bug should belong to the 'WebExtensions::Untriaged' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Product: Firefox → WebExtensions

Hello and thank you for reporting this issue !

As the issue does not appear to occur due to any installed add-ons, it seems the issue is with the browser itself. I’ll change the product and component to better reflect this.

In case of error, please change to the correct product/component. Thank you !

Component: Untriaged → General
Product: WebExtensions → Firefox

Is this image online? Loading an .apng image from my local filesystem works, perhaps the headers are incorrect? It does seem like maybe we should notice that it should be treated as a PNG though.

Flags: needinfo?(emmetoneill.pdx)

If you can access Google Drive, I've shared the .apng version of the image here. https://drive.google.com/file/d/1Q5VxUw4KMaYF1iN1VykWETj9Ag1qOc5m/view?usp=sharing

I neglected to mention that I'm also talking about loading the file into Firefox 98.0 from my local Linux filesystem.
Opening with FIrefox causes Firefox to prompt a "Opening [file]" dialog, while renaming that same file to animtest_flight.png seems to work fine.

Also worth mentioning that this is related to an APNG export patch for Krita, an open source painting and animation application.
https://invent.kde.org/graphics/krita/-/merge_requests/1380#note_420091
So It's entirely possible that there's something wrong in the way that we're exporting, causing the file to be non-standard in someway.

Flags: needinfo?(emmetoneill.pdx)

Accessing the url provided above opens an image which is not animated, the same results I'm having on Google Chrome.
Downloading the .apng and opening it in the browser displays the apng animated, the results are the same on both browsers.

Please provide some extra steps if you think I'm missing something out.
Thanks.

Flags: needinfo?(emmetoneill.pdx)

Hey emmetoneill.pdx, could you provide some extra info to help us reproduce this bug? Thanks!

Closing this as resolved: incomplete due the lack of response from the reporter. Please feel free to reopen the bug if the issue still persist and provide some extra info.
Thanks.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.