Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
PHP has an extensive range of functions designed to work with images. You've already met one of them, getimagesize(), in Chapter 4. As well as providing useful information about an image's dimensions, PHP can manipulate images by resizing or rotating them. It can also add text dynamically without affecting the original; it can even create images on the fly.