Chapter 10. Image Generation
As you certainly know by now, Web pages are created out of a judicious use of text, HTML, and images. Just as you can use PHP to generate text and HTML, you can also use it to make images on the fly, assuming your PHP installation has been configured properly.
This chapter will demonstrate how to use the capabilities of PHP and the GD Graphics Library to extend the functionality of your Web applications. Needless to say, using PHP to compose images is not a viable across-the-board replacement for a sense of graphic design and a copy of Adobe Photoshop, but if you have a need for images that are made instantaneously, possibly upon changing data, PHP can do that.
To follow the examples in this chapter, you will need ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access