Label with image data


<?php
exec("montage -geometry +0+0 -background skyblue -label \"%wx%h\" input.jpg output.jpg"); 
?>

This takes some information from the image and uses it in the label. In this case width x height.