O'Reilly logo

Core PHP Programming: Using PHP to Build Dynamic Web Sites by Leon Atkinson

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 12. IMAGE FUNCTIONS

Topics in This Chapter

  • Analyzing Images

  • Creating JPEG, PNG, and WBMP Images

The majority of the image functions draw their functionality from the GD library, free software for manipulating images. These require the GD extension to be loaded, via php3.ini or the dl function. The four functions in the first section of this chapter are not part of the GD extension and should always be available to you.

The GD library was created at Boutell.com, a company that has contributed several Open Source tools to the Web community. The library historically supported GIF image creation, but in 1999 this functionality was pulled in favor of PNG format files. The compression algorithm used in GIF creation is patented, which means permission ...

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