Summary

This chapter provided you with a brief introduction to what you can do with images and PHP. The “Image Functions” section of the PHP manual, at http://www.php.net/image, is highly recommended not only for a complete list of image-related functions, but also for examples and discussion about their use in your applications.

In this hour, you learned about installing and using additional libraries for working with images—namely, for working with JPEGs and PNGs. You learned the basic steps for creating an image canvas and allocating color, and for drawing and filling shapes. You learned that your drawing canvas can consist of an existing image and that you can merge layers so that a final image is a composite of the layers that have been ...

Get Sams Teach Yourself PHP, MySQL® and Apache All in One 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.