creativecommons / creativecommons/licensebuttons

Create smaller "icon" files

Open
#34 8 comments 0 reactions 1 assignee Assigned to @SamiS0830 View on GitHub
✨ goal: improvement 🏁 status: ready for work 💻 aspect: code good first issue help wanted 🟩 priority: low
Dominant language
Python
Stars
18
Forks
14
PR merge metrics
No merged PRs in 30d

Description

## Problem
[`scripts/genicons.py`](https://github.com/creativecommons/licensebuttons/blob/master/scripts/genicons.py) creates PNGs, which result in over 200 MiB of files.

## Description
One or more of the following options:
- Optimize PNG generation (spot testing indicates a reduction of ~50% should be possible)
- Extend [`scripts/genicons.py`](https://github.com/creativecommons/licensebuttons/blob/master/scripts/genicons.py) to also output SVGs.
- Extend to output another broadly supported format that is also smaller

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.