Back to the snippets index

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

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