Generate framed and labelled SVG icons
Project description
Generate framed, labeled SVG icons.
Features
Frame SVG icons using a template and apply a label (localized via gettext)
Optionally, convert to PNG (requires pycairo/cairocffi & python-rsvg)
Optionally, inverse the icon (assumes icon is black & white only)
How to use
Create SVG file with one layer per icon. Create another SVG to use as the frame template. Then configure the settings (see config example at docs/iconframer.yaml) and run the ‘iconframer’ command line to generate icons:
Usage: iconframer (svg | pdf | png) <language> ... [--config=<file>] [--size=<size>] [--nolabel] [--inverse] [--translations=<path>] iconframer -h | --help iconframer --version Options: -i --inverse Inverse the icon colors -n --nolabel Do not generate labeling -t <path> --translations=<path> Specify path of i18n file (locale) structure, by default 'i18n' -s <size> --size=<size> Specify the diameter of the frame for PNG/PDF [default: 64] -c <file> --config=<file> Override config file [default: iconframer.yaml] -h --help Show this screen. -v --version Show version.
Similar software
svglue
pyconizr
History
0.3.1 (2016-01-18)
Fix README
0.3.0 (2016-01-18)
Improved docs, minor cleanup
Add example config file
0.2.0 (2016-01-18)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file iconframer-0.3.1.zip
.
File metadata
- Download URL: iconframer-0.3.1.zip
- Upload date:
- Size: 35.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f0bd05640c96d536d42b69ba6ec20da4c1600293b114bfa496a8ed7831aaf44 |
|
MD5 | 413c20ba43df94b9eb223d38bd73dafa |
|
BLAKE2b-256 | 1b9545be20abc9074b42346c53a41076664c5c037280b5cdd3c01fe6512fa643 |