/hipster_filters

Your own instagram with imagemagick and 50 lines of ruby

Primary LanguageRuby

hipster_filters

fancy instagram-ish photo filters with imagemagick+ruby. currently: lens-flair, black+white and vintage.

original:

<img src=“https://raw.github.com/paulasmuth/hipster_filters/master/examples/preview1.png” />

vintage:

<img src=“https://raw.github.com/paulasmuth/hipster_filters/master/examples/preview2.png” />

lens-flare:

<img src=“https://raw.github.com/paulasmuth/hipster_filters/master/examples/preview4.png” />

black&white:

<img src=“https://raw.github.com/paulasmuth/hipster_filters/master/examples/preview3.png” />

Usage

VintageProcessor.new('/Users/paul/test.png')
  => "/tmp/fnordfilter.blc2onp3.4.png"

BlackWhiteProcessor.new('/Users/paul/test.png')
  => "/tmp/fnordfilter.sx04bacf.1.png"

LensFlareProcessor.new('/Users/paul/test.png')
  => "/tmp/fnordfilter.f04jknys.1.png"

Demo

obelix.23loc.com:4567/