<?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>Mon, 20 May 2013 22:51:00 -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>
  </channel>
</rss>
