<?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>Wed, 23 May 2012 11:33:32 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[James Morris' Blog: How to Strip EXIF Data Using Imagick]]></title>
      <guid>http://www.phpdeveloper.org/news/16771</guid>
      <link>http://www.phpdeveloper.org/news/16771</link>
      <description><![CDATA[<p>
<i>James Morris</i> has a quick tutorial today showing how to <a href="http://blog.jmoz.co.uk/imagick-strip-exif-data">pull the exif data from a photo</a> and make it into something useful you can either display on on the site or store for categorization.
</p>
<blockquote>
Today I spent a good amount of time trying to figure out how to strip exif data from an image using Imagick. The first port of call was the (pathetic) <a href="http://php.net/manual/en/book.imagick.php">documentation</a> at php.net.  I searched for 'exif' but found nothing. [...] I was tipped off by a colleague to the method Imagick::stripImage() which apparently did what I wanted.  The only mention of exif is in a rather helpful comment at the bottom of the page.
</blockquote>
<p>
This comment pointed him to the Imagick::stripImage() function that pulls off the data and returns exif information (or, as the documentation calls it, "profiles and comments"). His seven line script is included in the post that initializes the Imagick object, pulls in the file and runs the stripImage() method with the option for "exif:*". The resulting properties are then displayed including aperature value, date taken, exposure time, make and model of the camera, shutter speed, resolution and much more.
</p>]]></description>
      <pubDate>Thu, 25 Aug 2011 10:42:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lars Strojny's Blog: PHP Segfaulting with PECL/UUID and PECL/IMAGICK]]></title>
      <guid>http://www.phpdeveloper.org/news/15098</guid>
      <link>http://www.phpdeveloper.org/news/15098</link>
      <description><![CDATA[<p>
If you've been using (or will be using) the <a href="http://usrportage.de/archives/pecl/uuid">uuid</a> and <a href="http://usrportage.de/archives/pecl/imagick">imagick</a> extensions for PHP, you might be able to save yourself a lot of headache by reading <a href="http://usrportage.de/archives/922-PHP-segfaulting-with-pecluuid-and-peclimagick.html">this new post</a> from <i>Lars Strojny</i> about his segfault woes.
</p>
<blockquote>
Ran into a bug yesterday, where <a href="http://usrportage.de/archives/pecl/uuid">http://pecl.php.net/uuid</a> in combination with <a href="http://usrportage.de/archives/pecl/imagick">http://pecl.php.net/imagick</a> yielded a segfault when using uuid_create().
</blockquote>
<p>
After trying to trace it down with a backtrace and cachegrind results, he (and <a href="http://valokuva.org/">Mikko</a> & <a href="http://blog.thepimp.net/">Pierre</a>) found that both extensions were built against the libuuid.so.1 file. While that wasn't the issue directly, they did find a work-around that helped the issue - renaming some ini files so uuid was loaded first.
</p>]]></description>
      <pubDate>Wed, 08 Sep 2010 14:17:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Jeremy Cook's Blog: Installing Imagick under Apache on Windows]]></title>
      <guid>http://www.phpdeveloper.org/news/14620</guid>
      <link>http://www.phpdeveloper.org/news/14620</link>
      <description><![CDATA[<p>
<i>Jeremy Cook</i> has put together <a href="http://jeremycook.ca/2010/06/06/installing-imagick-under-apache-on-windows/">a guide for installing Imagick</a> on Windows so it can be used in your PHP applications..
</p>
<blockquote>
After a few weeks of experimenting on and off I've just managed to get the Imagick extension installed under Apache on Windows (my development environment). While discovering how to make it work was not at all simple the final process of getting all the pieces to play together nicely was pretty easy. In this post I'll briefly discuss what ImageMagick and the Imagick extension for PHP are, why you might want to use them, how I got them up and running and finally a very simple piece of example code. I'm hoping this post will help people avoid the frustration and effort I went through to get them to work!
</blockquote>
<p>
He explains what the tools (ImageMagick & Imagick) are and why it's a bit more difficult to install them on Windows than just a point and click sort of thing. He walks you through an eight-step process that will have you up and working in no time and includes a simple PHP script you can run to ensure things are working as they should.
</p>]]></description>
      <pubDate>Tue, 08 Jun 2010 12:48:38 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mikko Koppanen's Blog: Imagick and Gmagick builds available for Windows]]></title>
      <guid>http://www.phpdeveloper.org/news/13265</guid>
      <link>http://www.phpdeveloper.org/news/13265</link>
      <description><![CDATA[<p>
<i>Mikko Koppanen</i> has <a href="http://valokuva.org/?p=161">a quick post</a> about the latest Windows binary releases of two graphics packages for use with PHP 5.3 - Imagick and Gmagick.
</p>
<blockquote>
The new Windows build page http://valokuva.org/magick/ contains builds for both Imagick and Gmagick. All builds are done using VC9 and PHP 5.3. ImageMagick builds are QuantumDepth 16 (default). GraphicsMagick builds are QuantumDepth 8 (default).
</blockquote>
<p>
You can find these latest builds on <a href="http://windows.php.net/download/">the Windows PHP.net</a> site along with the latest PHP 5.3 builds.
</p>]]></description>
      <pubDate>Tue, 22 Sep 2009 11:26:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Vito Chin's Blog: The Gmagick Extension]]></title>
      <guid>http://www.phpdeveloper.org/news/12531</guid>
      <link>http://www.phpdeveloper.org/news/12531</link>
      <description><![CDATA[<p>
<i>Vito Chin</i> <A href="http://vitochin.blogspot.com/2009/05/gmagick-extension.html">has announced the release</a> of a new image manipulation extension that was ported from Imagick - <a href="http://pecl.php.net/package/gmagick">Gmagick</a>.
</p>
<blockquote>
The extension seeks to make the image processing capability of GraphicsMagick accessible from PHP. GraphicsMagick is forked from version 5.5.2 of ImageMagick and had since developed with important differences and improvements. [...] In terms of Gmagick and Imagick, we try to keep the method interface similar so existing Imagick users will find converting to Gmagick a breeze.
</blockquote>
<p>
You can grab the extension from <a href="http://pecl.php.net/package/gmagick">its PECL page</a>.
</p>]]></description>
      <pubDate>Mon, 18 May 2009 11:51:22 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[C7Y Community Site: Handling Images with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10569</guid>
      <link>http://www.phpdeveloper.org/news/10569</link>
      <description><![CDATA[<p>
On php|architect's C7Y community site <i>Scott MacVicar</i> has <a href="http://c7y.phparch.com/c/entry/1/art,images_and_php">posted a new comparison</a> of two of the main graphics platforms available to PHP - the GD and Imagick extensions.
</p>
<blockquote>
If you want user interaction on your website then you probably accept the upload of some media, including images. Within PHP there are two different libraries available that provide functionality for handling images, GD and the Imagick extension. This article takes a brief look at each of these libraries.
</blockquote>
<p>
Since GD comes bundled with PHP these days, he gives a brief installation tutorial for the Imagick extension. After that he compares the two with code for three different bits of functionality - identifying image types, working with EXIF data and modifying a current image (change format/resize). 
</p>]]></description>
      <pubDate>Wed, 09 Jul 2008 11:13:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mikko Koppanen's Blog: Fill patterns]]></title>
      <guid>http://www.phpdeveloper.org/news/10069</guid>
      <link>http://www.phpdeveloper.org/news/10069</link>
      <description><![CDATA[<p>
<i>Mikko Koppanen</i> has <a href="http://valokuva.org/?p=102">a quick post</a> today showing how to use PHP and Imagick to create an image of text filled with another image layer behind it:
</p>
<blockquote>
The fill pattern is used to annotate text but the named pattern could also be used to fill any shapes that allow fill to be specified (include circles, ellipses, rectangles, polygons etc etc).
</blockquote>
<p>
<a href="http://valokuva.org/?p=102">His example</a> is pretty simple (with a "Hello World!" output) that pulls in the background image, creates the composite layer over it, adds the text to it and sets the fill to the background image's layer. The whole this is wrapped up and output as <a href="http://valokuva.org/wp-content/uploads/2008/04/patternphp1.png">a PNG file</a>.
</p>]]></description>
      <pubDate>Tue, 29 Apr 2008 15:24:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Hasin Hayder's Blog: Installing Imagick extension for PHP in Ubuntu 7.10]]></title>
      <guid>http://www.phpdeveloper.org/news/9583</guid>
      <link>http://www.phpdeveloper.org/news/9583</link>
      <description><![CDATA[<p>
<i>Hasin Hayder</i> has <a href="http://hasin.wordpress.com/2008/02/06/installing-imagick-extension-for-php-in-ubuntu-710/">provided some instructions</a> he's created to install the Imagick extension for PHP on a Ubuntu linux system (7.10) in a new blog entry.
</p>
<blockquote>
I already have ImageMagick installed in my machine and I tried to install the Imagick extension for PHP but I was stuck with strange errors. I have spent couple of hours today to figure out what I did wrong and Why I cant build that extension. Finally I've figured out that I must install ImageMagick from source first to build that extension. Heres how to.
</blockquote>
<p>
He walks through the install, talking about where to get the package from, where to get the PECL extension for PHP and the compile process (with the result of a .so file PHP's extension can use).
</p>]]></description>
      <pubDate>Thu, 07 Feb 2008 09:30:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mikko Koppanen's Blog: Padding thumbnail with color]]></title>
      <guid>http://www.phpdeveloper.org/news/9406</guid>
      <link>http://www.phpdeveloper.org/news/9406</link>
      <description><![CDATA[<p>
<i>Mikko Koppanen</i> has another image tutorial posted to his blog today - this time the focus is on <a href="http://valokuva.org/?p=92">padding a thumbnail</a> with the color of your choice automatically.
</p>
<blockquote>
Today's example originates from a question asked by a user. How do I thumbnail the image inside given dimensions proportionally and fill the "blank" areas with a color? Well, the answer is here.
</blockquote>
<p>
His code pulls in the source image, generates a thumbnail from it and makes a new image (the background) that's a bit bigger than the thumbnail. From there, the thumbnail is laid on top and the whole thing is output as another PNG. An example of the input and output image is included.
</p>]]></description>
      <pubDate>Fri, 11 Jan 2008 12:05:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mikko Koppanen's Blog: Creating buttons with Imagick]]></title>
      <guid>http://www.phpdeveloper.org/news/9096</guid>
      <link>http://www.phpdeveloper.org/news/9096</link>
      <description><![CDATA[<p>
<i>Mikko Koppanen</i> has another quick new tutorial on using Imagick in your applications - this time it's about <a href="http://valokuva.org/?p=84">making buttons</a> dynamically.
</p>
<blockquote>
The button in this example is created after this tutorial <a href="http://xeonfx.com/tutorials/easy-button-tutorial/">http://xeonfx.com/tutorials/easy-button-tutorial/</a> (yes, I googled "easy button tutorial"). The code and the button it creates are both very simple but the effect looks really nice.
</blockquote>
<p>
The example code creates a simple round button with a fill color and white text. Their examples show a red, green and blue buttons.
</p>]]></description>
      <pubDate>Thu, 22 Nov 2007 17:05:50 -0600</pubDate>
    </item>
  </channel>
</rss>

