Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Generates base sixfoh-encoded images for yer websites.

Project Description

sixfoh

Generates base sixfoh-encoded images for yer websites.

Installation

pip install sixfoh

Usage

Give sixfoh a some images to convert to base64::

sixfoh datauri/*.png

If no files are given, it will look for images in the current directory.

Usage with Less

Pipe your output with the --less` flag and it will prepend Less variables to import into your CSS.:

sixfoh --less myimage.png > datauri.less

I usually slice up all my icons in Photoshop and output them into a “data-uri” folder.:

sixfoh -L data-uri/* > datauri.less

Import it and use it::

@import "datauri.less";

#Logo {
    background-image: @myimage;
}

You do the same for Sass with the --scss flag.

Options

-L Writes images into a group of LessCSS variables, to be included in a stylesheet or written to a .less file to be imported. (alias: –less)
-S Writes images into a group of Sass variables, to be included in a stylesheet or written to a .scss file to be imported. (alias: –scss)
-f Force output and ignore warnings.

image:: http://www.gifmania.co.uk/cars/3D/lowrider.gif

Release History

Release History

This version
History Node

0.1.3

History Node

0.1.2.3

History Node

0.1.2.2

History Node

0.1.2.1

History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
sixfoh-0.1.3-py2.7.egg (5.7 kB) Copy SHA256 Checksum SHA256 2.7 Egg Jun 28, 2012
sixfoh-0.1.3.tar.gz (3.2 kB) Copy SHA256 Checksum SHA256 Source Jun 28, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting