Back to the snippets index

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];
?>

Batch file - windows server
Check size before resizing
Dividing an image
Fonts Installed view
Get image data into a variable 1
Get image data into a variable 2
Gravity option
New image size in variable
Row of images
Setup Information
Use an array
Warhol effect