Poleroid

Poleroid example
<?php 
exec
("convert sunflower.jpg -thumbnail 200x90 -background black +polaroid poloroid.png");
 
?>

This is using the +polaroid operator. It will add a border, rotate, add a shadow and curl the image edge. Using +polaroid gives a random rotation. Using -polaroid 10 will give a 10 degree rotation specifed by the user.