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:

Description

Hello,

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:

https://github.com/nosilver4u/ewww-image-optimizer/issues/220

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:

https://blurbusters.com/wp-content/uploads/2018/12/Acer_XB252Q_Animated.apng

Found in this web page:

https://blurbusters.com/faq/lcd-overdrive-artifacts/

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:
https://blurbusters.com/wp-content/uploads/2018/12/Acer_XB252Q_Animated.apng-150x150.png )

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

Note: See TracTickets for help on using tickets.