News Feed
Jobs Feed
Sections




News Archive
Mikko Koppanen's Blog:
Perspective transformations
February 05, 2009 @ 09:36:02

Mikko Koppanen is back to blogging with this new post today - it's a look at another example with ImageMagick. It shows how to distort an image but keep its perspective.

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.

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.

0 comments voice your opinion now!
perspective transformation imagemagick twist bendexample


blog comments powered by Disqus

Similar Posts

SitePoint.com: Create Dynamic Images with ImageMagick

International PHP Magazine: Poll Question: Common Perspectives Regarding Objects in PHP Are?

Mikko Koppanen's Blog: Typesetting

Paul Jones' Blog: Different Definitions of Quality

Christian Stocker's Blog: Profile XSLT transformations within PHP


Community Events









Don't see your event here?
Let us know!


object composer api release language framework tool introduction podcast community opinion interview zendframework2 functional development testing event example unittest code

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework