Makes a picture from an iPhone camera look like a Polaroid. Adds date and city and state where the picture was taken at the bottom.

Date is from EXIF data.

City and state are reverse geocoded from latitude and longitude in EXIF data.

Inspired by and some code borrowed from RMagick Polaroid effect page

Font used in example is Amaze

Example usage:


require 'iphone_polaroid'

img = Magick::Image::read('input.jpeg').first

img.polaroid.write('polaroid.jpeg')