GithubHelp home page GithubHelp logo

instagraph's Introduction

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

<?php

$instagraph = new Instagraph;
$instagraph->setInput('sucks.jpg');
$instagraph->setOutput('rocks.jpg');
$instagraph->process('toaster');
# You can see changes in output file now

Demo

Demo application is included, it looks like:

Demo

Live demo will be up soon on: Instagraph.me

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
    </Directory>
</VirtualHost>

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.

License

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

instagraph's People

Contributors

d3y4n avatar honzajavorek avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.