Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Instagram with ImageMagick & PHP

branch: master

Merge pull request #7 from honzajavorek/colortone-bug

Colortone now explicitely forces the image to be in linear RGB colorspace.
latest commit a9bcee1347
Dejan Marjanovic authored
Octocat-spinner-32 lib Colortone now explicitely forces the image to be in linear RGB colors… March 15, 2013
Octocat-spinner-32 public Various changes January 26, 2013
Octocat-spinner-32 bootstrap.php Save December 28, 2012
Octocat-spinner-32 s/README.MD/ January 26, 2013

Instagraph - Instagram with ImageMagick & PHP

In this repository, I’ll demonstrate you how to create vintage (just like Instagram does) photos effects with PHP and ImageMagick. Wait? What? Yes, you can do this very thing with PHP and ImageMagick, and that’s just scratching the surface of allmighty Imagemagick!

In Few Short Lines

  • Requires PHP 5.3 + Imagemagick (not Imagick extension)
  • Features Lomo, Nasvhille, Kelvin, Toaster, Gotham, Tilt-Shift
  • ???
  • I don't own a "smartphone" so I can't use real Instagram app to compare

Example Usage


$instagraph = new Instagraph;
# You can see changes in output file now


Demo application is included, it looks like:


Live demo will be up soon on:

Virtual Host for Apache
Listen *:1337

<VirtualHost *:1337>
ServerName Instagraph
DocumentRoot /var/www/instagraph/public
    <Directory "/var/www/instagraph/public">
        Options Indexes FollowSymLinks Includes ExecCGI
        AllowOverride All
        Order allow,deny
        Allow from all

If on Windows, just replace /var/www/ with e.g. C:\www\.

Contributing to Instagraph

Contributions are welcome, if you have ideas or filters, or even better, some code for them, please open up Issue or Pull Request.


Instagraph is open-sourced software licensed under the MIT License.

Something went wrong with that request. Please try again.