A small helper class to convert .gifs to sprites.
Ruby
Pull request Compare This branch is 4 commits behind nocksock:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
test
.gitignore
Gemfile
LICENSE
README.mdown
ROADMAP
Rakefile
spritesheet.gemspec

README.mdown

SpriteSheet

A small helper class to convert .gifs to sprites that can be used by other Frameworks suchs as EaselJS.

Work In Progress!

Installation

gem install spritesheet

Usage

Assuming we have this gif 'example.gif':

in order to get this:

You can either create them with ruby code:

sheet = Sheet.new("example.gif")
sheet.write_to("example_sheet.jpg")

or on the commandline

$ spritesheet example.gif example_sheet.jpg

powered by RMagick