<?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>Sun, 12 Oct 2008 13:21:01 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Ajaxray.com: Image manipulation in Zend Framework using PHP Thumbnailer Class v2.0]]></title>
      <guid>http://www.phpdeveloper.org/news/11079</guid>
      <link>http://www.phpdeveloper.org/news/11079</link>
      <description><![CDATA[<p>
In <a href="http://www.ajaxray.com/blog/2008/09/12/image-manipulation-in-zend-framework-with-php-thumbnailer-class-v20/">this recent post</a> to the Ajaxray blog <i>Anis Ahmad</i> shows how to use the PHP Thumbnailer class inside of a Zend Framework application.
</p>
<blockquote>
In the huge set of library, <a href="http://framework.zend.com/">Zend Framework</a> have no options for manipulating image. There is a proposal for <a href="http://framework.zend.com/wiki/display/ZFPROP/Zend_Image+Proposal+-+Davey+Shafik">Zend_Image</a> which aimed to provides easier image manipulation using GD. But the proposal was not considered. [...] So, what to do when we need to make image thumbnail, resizeing or cropping image etc in Zend Framework?
</blockquote>
<p>
He shows how to integrate the <a href="http://www.gen-x-design.com/projects/php-thumbnailer-class/">Thumbnailer class</a> with the Framework - making it a library and implementing it within a controller (a private function called _createThumbnail).
</p>]]></description>
      <pubDate>Wed, 24 Sep 2008 11:12:18 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Debuggable Blog: String substitution using UUIDs]]></title>
      <guid>http://www.phpdeveloper.org/news/10883</guid>
      <link>http://www.phpdeveloper.org/news/10883</link>
      <description><![CDATA[<p>
On the Debuggable blog, <i>Felix Geisendorfer</i> shows how to <a href="http://www.debuggable.com/posts/string-substitution-using-uuids:48ad0e84-7c80-4bfd-b6be-4e8d4834cda3">create a string parser</a> that allows you to pull out parts of the string you don't currently want manipulated to be put back later.
</p>
<blockquote>
If you've ever written any non-trivial String processing code, you've probably ran into the situation where you wanted to exclude certain parts of your string for a certain operation. Usually that would mean you have to tokenize your string, or adjust the operation you want to run so it doesn't affect the part of the string you want to exclude from it. Both of those solutions can be fairly time intensive so I was looking for a shortcut and found one.
</blockquote>
<p>
He provides the code for this string substitution class, a method substitute() that matches based on a regular expression and, if found, stores the parts for later use.
</p>]]></description>
      <pubDate>Fri, 22 Aug 2008 12:04:39 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Building an Image Generator Class with PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/8758</guid>
      <link>http://www.phpdeveloper.org/news/8758</link>
      <description><![CDATA[<p>
In a <a href="http://www.devshed.com/c/a/PHP/Building-an-Image-Generator-Class-with-PHP-5/">new tutorial</a> today from DevShed, they introduce you to one of the more powerful bits of PHP functionality - the graphics manipulation functions - and how to use them to create an image generator class in PHP5.
</p>
<blockquote>
In simple terms, over the course of this brand new PHP series, which will be comprised of three friendly tutorials, I'll walk you through the development of an easy-to-follow PHP class that will have the ability to build dynamic text strings, which will be outputted straight to the browser in the form of image streams.
</blockquote>
<p>
This part part of the series lays the foundation, creating the <a href="http://www.devshed.com/c/a/PHP/Building-an-Image-Generator-Class-with-PHP-5/1/">basic structure</a> of the class and the buildImageStream and displayImage methods. This is then used in a sample use - creating images, white text on a black background.
</p>]]></description>
      <pubDate>Mon, 01 Oct 2007 12:57:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPit.net: Image manipulation with PHP & the GD library (Part 2)]]></title>
      <guid>http://www.phpdeveloper.org/news/6031</guid>
      <link>http://www.phpdeveloper.org/news/6031</link>
      <description><![CDATA[<p>
New on PHPit.net today is <a href="http://www.phpit.net/article/image-manipulation-php-gd-part2/">part two of their series</a> covering working with images in PHP through the GD graphics library.
</p>
<blockquote>
In this second part of the "Image manipulation with PHP & the GD library" article series you will learn how to resize images, create thumbnails, watermark images and more.
</blockquote>
<p>
They <a href="http://www.phpit.net/article/image-manipulation-php-gd-part2/">start with</a> resizing images, showing how to grab the current size and alter it to modify the output (both in a set and proportional way). With that code in place, they take the next logical step - an automatic thumbnail creator from a file upload. Finally, they show how to help protect your images using a watermark - their example is a "Image by YourWebsite.com" string of text placed on the image.
</p>]]></description>
      <pubDate>Mon, 14 Aug 2006 13:39:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPit.net: Image manipulation with PHP & the GD library (Part 1)]]></title>
      <guid>http://www.phpdeveloper.org/news/5926</guid>
      <link>http://www.phpdeveloper.org/news/5926</link>
      <description><![CDATA[<p>
PHPit.net has posted <a href="http://www.phpit.net/article/image-manipulation-php-gd-part1/">part one</a> of a new series of tutorials focusing on working with the GD graphics library inside of PHP.
</p>
<blockquote>
In this new article series you will learn about PHP's inbuilt image functions. In the first part you will see how to open images, display or save them, and how to write a simple image converter.
</blockquote>
<p>
They <a href="http://www.phpit.net/article/image-manipulation-php-gd-part1/">start with</a> a look at reading images in to start working with, in both GIF and JPEG formats. To make things simpler for life down the road, they opt to create their own simple "open_image" function that adapts to whatever kind of file it's given and returns an image resource.
</p>
<p>
Then it's over to the output - displaying and saving the images out to a local drive. Finally, they <a href="http://www.phpit.net/article/image-manipulation-php-gd-part1/">demonstrate</a> how to convert images from one file type to another (as uploaded via a HTML form).
</p>]]></description>
      <pubDate>Tue, 01 Aug 2006 16:13:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint.com: Create Dynamic Images with ImageMagick]]></title>
      <guid>http://www.phpdeveloper.org/news/5685</guid>
      <link>http://www.phpdeveloper.org/news/5685</link>
      <description><![CDATA[<p>
Over on SitePoint.com today, there's <a href="http://www.sitepoint.com/article/dynamic-images-imagemagick">a new tutorial</a> demonstrating an alternative to the usual GD library examples of working with images, opting instead for ImageMagick.
</p>
<blockquote>
The key component for making dynamic images a reality on your site is an image manipulation program that's controlled by the code that generates your web pages. Even though this article uses PHP as the scripting language, other languages -- such as Perl and Ruby -- can be used just as easily, provided that the image manipulation program that you're considering has an application programming interface (API) for the chosen language.
</blockquote>
<p>
He <a href="http://www.sitepoint.com/article/dynamic-images-imagemagick">decided on</a> ImageMagick for a few reasons, including that it's more supported by web hosts, it runs on Windows and Linux, and it's robust and powerful enough to handle everything from small to large tasks without missing a beat.
</p>
<p>
That said, he gets into the code, showing how a bit of PHP code can read in an image and spit back out information about it (height, width, etc), force a reduction of an uploaded image, scale down an image to fit a certian size, change it to a different type of image, and image rotation.
</p>]]></description>
      <pubDate>Mon, 26 Jun 2006 06:48:53 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Pierre's Blog: phpgd.com]]></title>
      <guid>http://www.phpdeveloper.org/news/4999</guid>
      <link>http://www.phpdeveloper.org/news/4999</link>
      <description><![CDATA[In <a href="http://blog.thepimp.net/index.php/2006/03/16/49-phpgdcom">this post</a> on his blog, <i>Pierre</i> points out a GD-related site that he's come across with articles, tutorials, and various information about graphics manipulation in PHP.
<p>
<quote>
<i>
PHPGD.com is a resource for anyone interested in creating graphics and graphics applications using the programming language PHP with the GD or GD2 image library. PHP's GD library is based upon the original GD library by Thomas Boutell. 
</i>
</quote>
<p>
They already have several articles posted, including one covering <a href="http://www.phpgd.com/articles.php?article=6">black and white conversation</a> and <a href="http://www.phpgd.com/articles.php?article=7">working with TrueType fonts</a> in your images. There's only a few scripts posted so far, but there are tons of resources they can pull those in from. The "Discussion" area for the site points over to the <a href="http://forums.devnetwork.net">DevNetwork forums</a>, part of the same community board we share.]]></description>
      <pubDate>Thu, 16 Mar 2006 06:58:28 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: An Image is Worth a Thousand Words in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/4505</guid>
      <link>http://www.phpdeveloper.org/news/4505</link>
      <description><![CDATA[In <a href="http://www.devshed.com/c/a/PHP/An-Image-is-Worth-a-Thousand-Words-in-PHP/">this new article</a> from DevShed today, there's a look at working with the GD libraries in PHP by doing some fun manipulation exercises (I love manipulation, don't you?)
<p>
<quote>
<i>
This article, the first of two parts, describes a fun little project that will help you sharpen your image manipulation skills. The completed application takes an image and converts it to a string of text that resembles the original image. Brian Vaughn gets you started.
<p>
Sometimes programming is work, but sometimes'¦ it's fun. Today we're going to work on a fun programming project involving image manipulation. This project will require that PHP be installed with the GD library (available at <a href="http://www.boutell.com/gd/">http://www.boutell.com/gd/</a>, or bundled along with PHP 4.3 and later).
</i>
</quote>
<p>
In <a href="http://www.devshed.com/c/a/PHP/An-Image-is-Worth-a-Thousand-Words-in-PHP/">this first part of the series</a>, all they really do is help you get things set up - a working PHP intallation with GD integrated. They provide initial code for the manipulation class, but it doesn't do much of anything yet. I guess that'll have to wait for part two...]]></description>
      <pubDate>Thu, 15 Dec 2005 06:57:53 -0600</pubDate>
    </item>
  </channel>
</rss>
