PHP Image functions (GD Library) List

  1. exif_imagetype — Determine the type of an image
  2. exif_read_data — Read the EXIF headers from JPEG or TIFF. This way you can read meta data generated by digital cameras.
  3. exif_thumbnail — Retrieve the embedded thumbnail of a TIFF or JPEG image
  4. getimagesize — Get the size of an image
  5. image_type_to_mime_type — Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype
  6. image2wbmp — Output image to browser or file
  7. imagealphablending — Set the blending mode for an image
  8. imagearc — Draw a partial ellipse
  9. imagechar — Draw a character horizontally
  10. imagecharup — Draw a character vertically
  11. imagecolorallocate — Allocate a color for an image
  12. imagecolorat — Get the index of the color of a pixel
  13. imagecolorclosest — Get the index of the closest color to the specified color
  14. imagecolorclosestalpha — Get the index of the closest color to the specified color + alpha
  15. imagecolorclosesthwb — Get the index of the color which has the hue, white and blackness nearest to the given color
  16. imagecolordeallocate — De-allocate a color for an image
  17. imagecolorexact — Get the index of the specified color
  18. imagecolorexactalpha — Get the index of the specified color + alpha
  19. imagecolorresolve — Get the index of the specified color or its closest possible alternative
  20. imagecolorresolvealpha — Get the index of the specified color + alpha or its closest possible alternative
  21. imagecolorset — Set the color for the specified palette index
  22. imagecolorsforindex — Get the colors for an index
  23. imagecolorstotal — Find out the number of colors in an image’s palette
  24. imagecolortransparent — Define a color as transparent
  25. imagecopy — Copy part of an image
  26. imagecopymerge — Copy and merge part of an image
  27. imagecopymergegray — Copy and merge part of an image with gray scale
  28. imagecopyresampled — Copy and resize part of an image with resampling
  29. imagecopyresized — Copy and resize part of an image
  30. imagecreate — Create a new palette based image
  31. imagecreatefromgd2 — Create a new image from GD2 file or URL
  32. imagecreatefromgd2part — Create a new image from a given part of GD2 file or URL
  33. imagecreatefromgd — Create a new image from GD file or URL
  34. imagecreatefromgif — Create a new image from file or URL
  35. imagecreatefromjpeg — Create a new image from file or URL
  36. imagecreatefrompng — Create a new image from file or URL
  37. imagecreatefromstring — Create a new image from the image stream in the string
  38. imagecreatefromwbmp — Create a new image from file or URL
  39. imagecreatefromxbm — Create a new image from file or URL
  40. imagecreatefromxpm — Create a new image from file or URL
  41. imagecreatetruecolor — Create a new true color image
  42. imagedashedline — Draw a dashed line
  43. imagedestroy — Destroy an image
  44. imageellipse — Draw an ellipse
  45. imagefill — Flood fill
  46. imagefilledarc — Draw a partial ellipse and fill it
  47. imagefilledellipse — Draw a filled ellipse
  48. imagefilledpolygon — Draw a filled polygon
  49. imagefilledrectangle — Draw a filled rectangle
  50. imagefilltoborder — Flood fill to specific color
  51. imagefontheight — Get font height
  52. imagefontwidth — Get font width
  53. imageftbbox — Give the bounding box of a text using fonts via freetype2
  54. imagefttext — Write text to the image using fonts using FreeType 2
  55. imagegammacorrect — Apply a gamma correction to a GD image
  56. imagegd2 — Output GD2 image to browser or file
  57. imagegd — Output GD image to browser or file
  58. imagegif — Output image to browser or file
  59. imageinterlace — Enable or disable interlace
  60. imagejpeg — Output image to browser or file
  61. imageline — Draw a line
  62. imageloadfont — Load a new font
  63. imagepalettecopy — Copy the palette from one image to another
  64. imagepng — Output a PNG image to either the browser or a file
  65. imagepolygon — Draw a polygon
  66. imagepsbbox — Give the bounding box of a text rectangle using PostScript Type1 fonts
  67. imagepscopyfont — Make a copy of an already loaded font for further modification
  68. imagepsencodefont — Change the character encoding vector of a font
  69. imagepsextendfont — Extend or condense a font
  70. imagepsfreefont — Free memory used by a PostScript Type 1 font
  71. imagepsloadfont — Load a PostScript Type 1 font from file
  72. imagepsslantfont — Slant a font
  73. imagepstext — To draw a text string over an image using PostScript Type1 fonts
  74. imagerectangle — Draw a rectangle
  75. imagerotate — Rotate an image with a given angle
  76. imagesetbrush — Set the brush image for line drawing
  77. imagesetpixel — Set a single pixel
  78. imagesetstyle — Set the style for line drawing
  79. imagesetthickness — Set the thickness for line drawing
  80. imagesettile — Set the tile image for filling
  81. imagestring — Draw a string horizontally
  82. imagestringup — Draw a string vertically
  83. imagesx — Get image width
  84. imagesy — Get image height
  85. imagetruecolortopalette — Convert a true color image to a palette image
  86. imagettfbbox — Give the bounding box of a text using TrueType fonts
  87. imagettftext — Write text to the image using TrueType fonts
  88. imagetypes — Return the image types supported by this PHP build
  89. imagewbmp — Output image to browser or file
  90. iptcembed — Embed binary IPTC data into a JPEG image
  91. iptcparse — Parse a binary IPTC (http://www.iptc.org/) block into single tags.
  92. jpeg2wbmp — Convert JPEG image file to WBMP image file
  93. png2wbmp — Convert PNG image file to WBMP image file
  94. read_exif_data — Reads header information stored in TIFF and JPEG images

If you like the post & want to get more then Subscribe our blog posts. Subscribe SunwareTech.net RSS Feed Facebook Twitter Email

Both comments and pings are currently closed.

One Response to “PHP Image functions (GD Library) List”

  1. Greetings! Very valuable advice on this article! It is the small changes that create the biggest shift. Thanks so much for sharing!

Copyright © Sunware Technologies - Your web partner