Skip to content

Instantly share code, notes, and snippets.

View FrancescoPerrone's full-sized avatar
:shipit:
Not me

Francesco Perrone FrancescoPerrone

:shipit:
Not me
  • University of Glasgow
  • In a paradox
View GitHub Profile
@briangonzalez
briangonzalez / README.md
Created October 21, 2012 04:25
img2boxshadow - a ruby script to convert images to CSS [http://codepen.io/briangonzalez/details/AvrGI#pen-details-tab]

img2boxshadow.rb

a ruby script to convert images to CSS (box-shadows)

Installation

gem install rmagick    # you'll need ImageMagick & Ruby first
gem install colormath
gem install micro-optparse