<?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, 19 Jun 2013 04:15:19 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Mikko Koppanen's Blog: Perspective transformations]]></title>
      <guid>http://www.phpdeveloper.org/news/11888</guid>
      <link>http://www.phpdeveloper.org/news/11888</link>
      <description><![CDATA[<p>
<i>Mikko Koppanen</i> is back to blogging with <a href="http://valokuva.org/?p=112">this new post</a> today - it's a look at another example with <a href="http://imagemagick.org">ImageMagick</i>. It shows how to <a href="http://imagemagick.org/Usage/distorts/#perspective">distort an image</a> but keep its perspective.
</p>
<blockquote>
I took some time to actually understand the perspective transformations properly using the excellent ImageMagick examples (mainly created by Anthony Thyssen) as a reference. The basic idea of perspective distortion seems simple: to distort the control points to new locations.
</blockquote>
<p>
His example uses a checkerboard as the image to manipulate and, based on an array of settings (source, destination) sets control points for the image to twist and turn from. The final output is echoed from a call to distortImage.
</p>]]></description>
      <pubDate>Thu, 05 Feb 2009 09:36:02 -0600</pubDate>
    </item>
  </channel>
</rss>
