isomerpages / isomercms-backend

A static website builder and host for the Singapore Government
5 stars 1 forks source link

allow apng ext #1122

Closed harishv7 closed 8 months ago

harishv7 commented 8 months ago

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

seaerchin commented 8 months ago

great picture