<?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, 09 Jul 2008 07:23:59 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Mikko Koppanen's Blog: Seam carving]]></title>
      <guid>http://www.phpdeveloper.org/news/9627</guid>
      <link>http://www.phpdeveloper.org/news/9627</link>
      <description><![CDATA[<p>
<i>Mikko Koppanen</i> has posted <a href="http://valokuva.org/?p=99">another quick hit</a> ImageMagick hint to his blog - this time it deal with "seam carving", a process for cropping and resampling of an image to make a different composite picture.
</p>
<blockquote>
Today I was reading trough the ImageMagick ChangeLog and noticed an interesting entry. "Add support for liquid rescaling". I rushed to check the MagickWand API docs and there it was: MagickLiquidRescaleImage! After about ten minutes of hacking the Imagick support was done. Needless to say; I was excited
</blockquote>
<p>
You'll need to have the <a href="http://liblqr.wikidot.com/">libqr library</a> compiled into the ImageMagick installation, but the actual use of the functionality is simple - about three or four lines do the work for you. He includes <a href="http://valokuva.org/wp-content/uploads/2008/02/landscape_orig.jpg">the original image</a> and <a href="http://valokuva.org/wp-content/uploads/2008/02/landscape.jpg">the result</a> from his test (as well as <a href="http://valokuva.org/wp-content/uploads/2008/02/300x300_result.jpg">another example</a> of the same result image scaled down automatically.
</p>]]></description>
      <pubDate>Wed, 13 Feb 2008 17:10:00 -0600</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>
  </channel>
</rss>
