Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

C7Y Community Site:
Handling Images with PHP
Jul 09, 2008 @ 16:13:06

On php|architect's C7Y community site Scott MacVicar has posted a new comparison of two of the main graphics platforms available to PHP - the GD and Imagick extensions.

If you want user interaction on your website then you probably accept the upload of some media, including images. Within PHP there are two different libraries available that provide functionality for handling images, GD and the Imagick extension. This article takes a brief look at each of these libraries.

Since GD comes bundled with PHP these days, he gives a brief installation tutorial for the Imagick extension. After that he compares the two with code for three different bits of functionality - identifying image types, working with EXIF data and modifying a current image (change format/resize).

tagged: tutorial image handling gd imagick extension example

Link:


Trending Topics: