This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/local/bin/ruby -w | |
# This simple program takes a bunch of images and creates a sprite image along with the corrosponding | |
# css. It also generates the datauri css. So, we can serve performance optimized CSS depending on the | |
# Browsers. | |
# | |
# Browsers which do not support datauri, like IE7 and below get the sprite image and the sprite css. | |
# Browsers which support datauri, get the datauri.css | |
# | |
# Usage: |