Snippets
Crop an image ( Anthony 21/6/2008 )
Crop part of an image.240x180+100+100 = Crop to be 240 wide by 180 high and crop top left hand corner to be 100 across and 100 down.
IM code:
<?php
exec("convert input.jpg -crop 240x180+100+100 +repage output.png");
?>