Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

iconframer

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iconframer

Generate framed and labelled SVG icons

  • 0.3.1
  • PyPI
  • Socket score

Maintainers
1

=============================== Iconframer

.. image:: https://badge.fury.io/py/iconframer.png :target: http://badge.fury.io/py/iconframer

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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc