Get image data into a variable 2 ( Anthony 23/6/2008 )

Read a images width and height into a variable.

IM code:

<?php
exec
("identify -format \"%wx%h\" input.jpg"$a);
echo 
"Date and time taken = ".$a[0];
?>