Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#52897 new defect (bug)

Animated PNG: WordPress keeps renaming .apng files into .png (I lost 10 hours of work)

Reported by: mdrejhon's profile mdrejhon Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.7
Component: Upload Keywords:
Focuses: Cc:



I want to be able to upload .apng files without them being renamed back to .png

Some plugins that optimizes PNG files destroys animated PNG files:

I had to get a 3rd party file-renaming plugin called "Media File Renamer" that allows me to rename uploaded APNGs (renamed by WordPress to PNG during upload) back to .apng file extension.

That allows me to configure 3rd party PNG compressors to avoid optimizing .apng files (not all of them properly support it).

Good example animated PNG:

Found in this web page:

Change History (1)

#1 @mdrejhon
3 years ago

It's okay for thumbnails to be non-animated .png

(e.g. Like how it auto-optimizes as: )

But the original .apng upload should stay .apng file extension.

Note: See TracTickets for help on using tickets.