Snippets
Get image data into a variable 1 ( Anthony 23/6/2008 )
Read a images width and height into a variable.
IM code:
<?php
$Image_dimensions = exec("convert input.jpg -format \"%wx%h\" info:- ");
echo $Image_dimensions;
?>
Get image data into a variable 1 ( Anthony 23/6/2008 )
Read a images width and height into a variable.
IM code:
<?php
$Image_dimensions = exec("convert input.jpg -format \"%wx%h\" info:- ");
echo $Image_dimensions;
?>