italia / publiccode-editor

A web editor to create and edit publiccode.yml files
https://publiccode-editor.developers.italia.it
GNU Affero General Public License v3.0
20 stars 24 forks source link

Validate file extensions for logo #57

Closed alranel closed 5 years ago

alranel commented 5 years ago

The publiccode.yml spec restricts the accepted file extensions for images. For logo and monochromeLogo, .jpg is not accepted because we want images with transparent background. The editor should validate extensions.

sebbalex commented 5 years ago

As for: Raster file formats that support transparency include GIF, PNG, BMP, TIFF, and JPEG 2000, through either a transparent color or an alpha channel.

Specified here: Transparency (graphic), editor should allow only those extensions.