O'Reilly logo

Sams Teach Yourself PHP, MySQL and Apache: All in One, Third Edition by Julie Meloni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 14. Working with Images

A standard installation of PHP has many built-in functions for dynamically creating and manipulating images. With a few adjustments, you can expand the functionality even more. In this chapter, you learn the basics of creating and manipulating images using PHP functions:

  • How to modify PHP to increase image-related functionality

  • How to create a new image

  • How to modify existing images

Understanding the Image-Creation Process

Creating an image with PHP is not like creating an image with a drawing program: There’s no pointing and clicking or dragging buckets of color into a predefined space to fill your image. Similarly, there’s no Save As functionality, in which your drawing program automatically creates a GIF, JPEG, PNG, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required