A set of image servers to make up for lack of rgba() support and linear_gradient support.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gems
.rbenv-version
Gemfile
Gemfile.lock
Procfile
README.md
config.ru
rack_color_img.rb
rack_gradient.rb
rack_noise.rb
rack_noise_gradient.rb
rack_rgba.rb

README.md

Rgba Rack

Description

A set of tools to help make web pages pretty in a world where CSS3 still isn't supported.

URLS

Make a single pixel half transparent png.

/rgba/255/0/0/0.5.png

Make a linear gradient from red(alpha 1.0) to black(alpha 0.3) 800 pixels tall:
/linear_gradient/255/0/0/1.0/0/0/0/0.3/800.png

Make a noise based texture tile:

/noise/255/0/0/0.5.png

Make a textured noise gradient from red(alpha 1.0) to black(alpha 0.3) 800 pixels tall:
/noise_gradient/255/0/0/1.0/0/0/0/0.3/800.png

Deployment

This deploys to heroku no problem.