<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 24 May 2013 17:03:22 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NetTuts.com: Create Instagram Filters With PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17728</guid>
      <link>http://www.phpdeveloper.org/news/17728</link>
      <description><![CDATA[<p>
On NetTuts.com there's a new tutorial showing how you can <a href="http://net.tutsplus.com/tutorials/php/create-instagram-filters-with-php/">create Instagram-like filters</a> in PHP using the <a href="http://www.imagemagick.org/script/index.php">ImageMagick</a> library/extension.
</p>
<blockquote>
PHP comes bundled with <a href="http://www.php.net/manual/en/book.image.php">GD</a> (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, <a href="http://net.tutsplus.com/articles/news/how-to-dynamically-create-thumbnails/">creating thumbnails</a> (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!
</blockquote>
<p>
He starts off by comparing the two graphics libraries and talks briefly about <a href="http://www.imagemagick.org/script/binary-releases.php">how to downliad</a> 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 <a href="http://en.wikipedia.org/wiki/Vignetting">vignette</a> to the image. Also included are some "presets" represented in a few simple functions:
</p>
<ul>
<li>Gotham
<li>Toaster
<li>Nashville
<li>Lomo
<li>Kelvin
</ul>
<p>
There's also a few links to other resources you can use to find out more details on what Imagemagick has to offer.
</p>]]></description>
      <pubDate>Mon, 26 Mar 2012 10:07:37 -0500</pubDate>
    </item>
  </channel>
</rss>
