Project

rgba_png

0.0
No commit activity in last 3 years
No release in over 3 years
Command line tool that creates PNG image files from rgba definitions in stylesheets.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
 Project Readme

rgba-png

Feed it rgba and it spews images!

rgba-png is a command line tool to create PNG images from RGBA color definitions in stylesheets.

Installation

gem install rgba_png

Usage (command line)

There's two parameters: path to the source file and path to images destination.

Example:

rgba-png path/to/file.css path/to/images/folder

It assumes that CSS rules are defined in their own line.

Images

Images are named after the color properties, for example, the color below:

rgba(0, 252, 255, 0.8)

Will generate the following file:

0-252-255-0.8.png