But the one I am interested in the most does not seem to function properly.
I copied the commands directly from the IM site for the cylinderize feature.
Can someone throw me a lifeline. Im drowning!
Code: Select all
<?php
$image="image-2.jpg";
$output = "cylinder.png";
exec("convert $image -background black -gravity south -splice 0x8 \
\( +clone -sparse-color barycentric '0,0 black 69,0 white' \) \
\( +clone -function arcsin 0.5 \) \
\( -clone 1 -level 25%,75% \
-function polynomial -4,4,0 -gamma 2 \
+level 50%,0 \) \
-delete 1 -swap 0,1 miff:- |\
composite - -virtual-pixel black -displace 17x7 $output");
echo "<br><img src=\"". $output ."\"><br>";
?>