CHAPTER 8Working with Dynamic Imaging
Working with dynamic images in PHP 5 is easier than it has ever been. PHP 5 includes the GD extension right in the php.ini
file. Simply remove the comment from the GD extension, and you are set to go. The GD library included with PHP 5 happens to be the upgraded GD2 library, which contains some useful JPG functionality that allows for true-color imaging.
Dynamic imaging becomes especially handy when dealing with servers that do not support PHP or when working with online applications that allow only Hypertext Markup Language (HTML). Because PHP allows you to embed links into a PHP document within an image's SRC
tag, you can pull dynamic images from a PHP-enabled server by simply putting the uniform resource ...
Get PHP 5 Recipes: A Problem-Solution Approach now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.