A tool for organising and batch exporting SVG emoji sets.
|
6 years ago | |
---|---|---|
LICENSE | 6 years ago | |
MANIFEST.md | 6 years ago | |
README.md | 6 years ago | |
emoji.py | 6 years ago | |
export.py | 6 years ago | |
jsonutils.py | 6 years ago | |
log.py | 6 years ago | |
manifest.py | 6 years ago | |
orxport.py | 6 years ago | |
parse.py | 6 years ago | |
png.py | 6 years ago | |
svg.py | 6 years ago | |
util.py | 6 years ago |
Emoji exporter used for Mutant Standard emoji set
Orxporter was created as a rewrite of scripts used to automate some of the workflow for Mutant Standard. Its purpose remains to be the primary build tool for Mutant Standard packages, and so its features remain largely constrained to a single use case.
That said, there has been interest in this tool, as it allows custom builds or modifications of Mutant Standard packages, and is generic enough to work for similar projects.
Orxporter is an open-sourced insider tool, and was never meant to be used at large. There has been no significant effort to design, test, or follow any good practice. Bugs at edge cases are known about and ignored. As long as Mutant Standard is built properly according to Dzuk's wishes, it's unlikely any features will be added or bugs fixed.
By default, orxporter assumes the manifest is in ./manifest, the input directory is the in subdirectory of wherever the manifest is, and the output directory is out. Default action is to export the entire emoji set as shortcode-named SVG files.
Here are the command line options:
Export the entire emoji set as shortcode-named SVG files (default):
orxport.py
As above, but specifying manifest, input directory and output directory paths:
orxport.py -m <manifest file> -i <input directory> -o <output directory>
Export the entire emoji set as shortcode-named 64x64 and 256x256 PNG files, with a separate directory for each format, using 4 threads:
orxport.py -F png-64,png-256 -f %f/%s -t 4
Export the entire emoji set as unicode-named SVG, 32x32 PNG, 128x128 PNG and 512x512 PNG files, using 8 threads, to a separate directory for each format, ensuring that all input images are 32x32:
orxport.py -F svg,png-32,png-128,png-512 -f %f/%u -t 8 -q 32x32
Export only dark_elf emoji as a 256x256 PNG file:
orxport.py -F png-256 -e code=dark_elf
Export only emoji with v2 color modifier:
orxport.py -e color=v2
Export only paw emoji:
orxport.py -e morph=paw
Export all emoji as shortcode-named SVG files, preserving input directory structure:
orxport.py -f %d/%s
Please refer to MANIFEST.md for documentation regarding manifests.