News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

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

Community News: PKP UK Conference 2010 Perspectives

Mikko Koppanen's Blog: Typesetting

IBuildings Blog: PHP Caching on Windows: A managers perspective

Ibuildings Blog: PHP 5.3 from a development manager's perspective

Ian Christian's Blog: Should you learn a framework?


Community Events





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


code language release series podcast api interview threedevsandamaybe conference community voicesoftheelephpant list bugfix framework laravel zendserver symfony deployment tips introduction

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