GD.txt iptc.org exif.org Exchangable Image Files ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, PHP Developer's cookbook CHAPTER -18 - Creating and Managing Images 1. Creating an Image with GD --------------------------------------------------------------------------- -------------------------------------------------------------------------- 2. Opening a Preexisting Image -------------------------------------------------------------------------- Use the ImageCreate From* functions instead combination of Image Create and Image*. --------------------------------------------------------------------------- 3.Gettiung the size of an Image --------------------------------------------------------------------------- You might want to generate width and height for images automatically. "; // The third element is type (1 is GIF,2 isJPG, 3 is PND) // The fouth is string which can be embedded. ?> JPEG aditionaly returns two elements in associative array. ------------------------------------------------------------------------- 6.Getting the Total Number of Colors in an Image ------------------------------------------------------------------------- ------------------------------------------------------------------------- 7. Making a GIF/PNG Transparent ---------------------------------------------------------------------------- --------------------------------------------------------------------------- 8. Copy One Part of an Image to Another image ------------------------------------------------------------------------- ------------------------------------------------------------------------ 9. Drawing Rectangles ------------------------------------------------------------------------- ------------------------------------------------------------------------ 10. Drawing Polygons ------------------------------------------------------------------------ ------------------------------------------------------------------------ 11. Drawing an Arc ----------------------------------------------------------------------- ----------------------------------------------------------------------- 12. Making an Image Interlaced ------------------------------------------------------------------------- ------------------------------------------------------------------------ 13. Dynamic Buttons ------------------------------------------------------------------------- ---------------------------------------------------------------------- 14. Using TrueType Fonts ------------------------------------------------------------------------- -----------------------------------------------------------------------