If you have the GD library (available at http: / /www.boutell.com / gd /) you will also be able to create and manipulate images.
You can use the image functions in PHP to get the size of JPEG, GIF, PNG, and SWF images, and if you have the GD library (available at http://www.boutell.com/gd/) you will also be able to create and manipulate images.