Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mmb-iphone_polaroid

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mmb-iphone_polaroid

  • 0.0.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

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.

!http://matthewm.boedicker.org/img/polaroid.jpeg!

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":http://rmagick.rubyforge.org/Polaroid/polaroid.html

Font used in example is "Amaze":http://www.searchfreefonts.com/free/amaze.htm

Example usage:


require 'iphone_polaroid'

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

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

FAQs

Package last updated on 11 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc