Page 202 - Open Soource Technologies 304.indd
P. 202

Manish,  Kumar, Lovely Professional University                                          Unit 12: Images



                                       Unit 12:  Images                                           Notes



             CONTENTS

             Objectives
             Introduction

             12.1   Image Creation Process

                   12.1.1  Basic PHP Knowledge
                   12.1.2  Your PHP Must Have Been Compiled with the GD Library

                   12.1.3  Free Type Must Be Compiled for True Type Font Support

                   12.1.4  Creating an Image from Scratch Using PHP
             12.2   Necessary Modifications to PHP

             12.3   Drawing a New Image

                   12.3.1  Drawing Lines and Shapes
                   12.3.2  Using a Colour Fill

             12.4   Modifying an Existing Image
                   12.4.1  Using True Type Fonts

                   12.4.1  Drawing to Your Image

             12.5   Image Creation from User Input
             12.6  Summary

             12.7  Keywords
             12.8   Self Assessment Questions

             12.9   Review Questions

             12.10  Further Reading


            Objectives

            After studying this unit, you will be able to:

               •  Explain image creation process.

               •  Discuss necessary modifications to PHP.
               •  Explain how to draw a new image.

               •  Explain how to modify an existing image.

               •  Discuss how to create an image from user input.



                                             LOVELY PROFESSIONAL UNIVERSITY                                   197
   197   198   199   200   201   202   203   204   205   206   207