frog_emojis/README.md

40 lines
2.1 KiB
Markdown
Raw Normal View History

Most of theses frogs are based on the SVGs of the twitter emoji set (https://twemoji.twitter.com). Others are unique designs with other inspirations in mind.
2019-06-28 16:23:48 +01:00
Have fun using them! 🐸
## License
By contributing you agree to license your contribution under the terms of the GPLv3 (for code) and CC-BY 4.0 (for graphics) licenses. The corresponding license can be found in the LICENCE and LICENSE-GRAPHICS file respectively. The following links also reference to the licenses:
GPLv3: <http://www.gnu.org/licenses/gpl-3.0.txt>
CC-BY 4.0: <https://github.com/twitter/twemoji/blob/gh-pages/LICENSE-GRAPHICS>
2022-01-31 12:57:36 +00:00
## Contributing
When submitting PRs keep the following in mind please:
- only submit SVGs.
- use the following naming scheme: verb/adjective+Frog+Object+Differential with camelCase. For example, `sleepyFrogFamilyTkg` for an emoji with a sleepy frog family, which is differentiated from a sleepy frog family, by including Tkg.
- should you submit an emoji that has a clear emoji mapping to it, please prefix it with `U[unicodeChracter]-`. For example, `U1f35e-frogBread`.
- should you be on Windows and case sensitivity seems to commit wrong, run the following command in the git repo: `git config core.ignorecase false`
- only submit SVGs with the file ending `.svg`. Not `.SVG` or `.sVg`
## Generating PNGs
If you want to generate PNGs from the SVGs, you can use the `gen_png.py` script.
### Dependencies
- Python 3.9 - To run the script.
- Inkscape - Used to generate the PNGs. Needs to be located in PATH.
- (Optional) git - Can be used to automatically add a new commit with the generated PNGs.
### Usage
2022-02-02 13:52:58 +00:00
```
gen_png.py [OPTION]
-h, --help Shows this help message.
2022-02-04 11:30:01 +00:00
-a, --all Generate PNGs of all SVGs.
-s, --specific S [S ...] Generate PNGs for each S in the "svg" folder. The '.svg' suffix is optional.
2022-02-04 11:43:11 +00:00
-r, --resolution R [R ...] Custom resolutions that will be generated instead of the defaults (72, 512, 1024).
2022-02-04 11:30:01 +00:00
-g, --git Generates PNGs of SVGs that changed since last auto tag and creates a git commit with them. Requires 'git' to be installed and located in PATH.
2022-02-02 13:52:58 +00:00
```