Chapter 8. GD Graphics Overview

  • What Is GD?

  • Installing GD

  • Creating an Image

  • Drawing Shapes on the Canvas

  • Manipulating Color Information

  • Adding Text to Images

  • Resizing Images

Boutell’s GD library is a great tool that provides you with ways to manipulate graphics on the fly. In this chapter you will be learning just that. You will start off by learning how to create images and draw simple shapes on the canvas. Then you will learn how to manipulate the color information of an image, add text to an image, and, finally, how to resize an image. This knowledge will allow you to add cool graphics on the fly to your on-line game.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset