![]() |
![]() |
![]() |
To see what distort operators are supported by your version of ImageMagick run this code:
<?php
echo "<pre>";
system ("convert -list distort");
echo "</pre>";
?>
For some reason even though the distorts are available on my localhost they will not work
Perspective distort
The Perspective distort takes the 4 corners of and image and moves them to the new positions
0,0 0,100 100,100 100,0 - The original positions anticlockwise
0,0 0,100 90,90 90,10 - The new positions anticlockwise
There are plans to change the perspective distort code and I will post a different example when it is done.