How to use BILINEARWARP with PHP
Posted: 2009-09-10T04:22:46-07:00
Ive search the web for an hour and cannot seem to find any PHP / Imagemagick usage of on BILINEARWARP
from Freds Pages - http://www.fmwconcepts.com/imagemagick/ ... /index.php
I am trying to get sort of a reverse Star Wars text effect
Here is what I was thinking:
Obviously Im missing something here.
Can anyone help?
from Freds Pages - http://www.fmwconcepts.com/imagemagick/ ... /index.php
I am trying to get sort of a reverse Star Wars text effect
Here is what I was thinking:
Code: Select all
<?php
$convert = "~/apps/im/bin/convert";
$input="test_image.jpg";
$output = "image_result.png";
exec("$convert $input -matte -virtual-pixel transparent -distort perspective -f input \"0,0 255,20 255,255 233,255\" $output")
echo "<br><img src=\"". $output ."\"><br>";
echo "<br>im here and I am done<br>";
?>
Can anyone help?