team wants to upload "APNG" format, the extension is still in ".png", but when we validate the sanitised file format it is interpreted as APNG and is blocked from uploading. Suggested using GIF but their reason was the following:
But because GIF has limited colour palette and low resolution, the usability CoP advised us to change from gif to apng for better quality
Which makes sense actually. I saw their sample file and the resolution is much better
Solution
Whitelist apng
Tests
Upload this file to staging CMS and make sure the upload succeeds
CMS preview should be animated on media section as shown below
Problem
team wants to upload "APNG" format, the extension is still in ".png", but when we validate the sanitised file format it is interpreted as APNG and is blocked from uploading. Suggested using GIF but their reason was the following:
But because GIF has limited colour palette and low resolution, the usability CoP advised us to change from gif to apng for better quality
Which makes sense actually. I saw their sample file and the resolution is much better
Solution
Whitelist apng
Tests