News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NetTuts.com:
Create Instagram Filters With PHP
March 26, 2012 @ 10:07:37

On NetTuts.com there's a new tutorial showing how you can create Instagram-like filters in PHP using the ImageMagick library/extension.

PHP comes bundled with GD (GIF Draw/Graphics Draw), which is a library for the dynamic creation of images. It can be used for simpler image operation, such as resizing, cropping, adding watermarks, creating thumbnails (Jeffrey wrote about it), applying basic photo filters - you've probably used it before. Unfortunately, if you want to create something more complex with GD, like Instagram effects, you can't. Luckily, though, we have ImageMagick!

He starts off by comparing the two graphics libraries and talks briefly about how to downliad and install Imagemagick on your development platform. Included is a PHP class to help you use it, coming complete with functions for changing the color tone of the image, adding a border and adding a vignette to the image. Also included are some "presets" represented in a few simple functions:

  • Gotham
  • Toaster
  • Nashville
  • Lomo
  • Kelvin

There's also a few links to other resources you can use to find out more details on what Imagemagick has to offer.

0 comments voice your opinion now!
instagraph photo imagemagick filter tutorial image


blog comments powered by Disqus

Similar Posts

Ralph Schindler's Blog: Compiling Gearman (or anything) for Zend Server CE on Snow Leopard

Developer.com: Forms Validation with Symfony and Prototype

CodeIgniter Blog: New Site Enhancements

Rob Allen's Blog: Zend Framework Tutorials (an Update and Zend_Auth)

NETTUTS.com: Scanning Folders with PHP


Community Events

Don't see your event here?
Let us know!


middleware series laravel framework unittest wordpress library community release development laravel5 extension conference interview voicesoftheelephpant introduction podcast language api opinion

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework