Home  >  Article  >  Backend Development  >  Summary Overview of PHP Graphics Processing Functions_PHP Tutorial

Summary Overview of PHP Graphics Processing Functions_PHP Tutorial

WBOY
WBOYOriginal
2016-07-15 13:33:29947browse

getimagesize: Get the length and width of the image.
imagearc: Draw arc.
imagechar: Write horizontal characters.
imagecharup: Write straight characters.
imagecolorallocate: Match color.
imagecolortransparent: Specify a transparent background color.
imagecopyresized: Copy a new image and resize it.
imagecreate: Create a new image.
imagedashedline: Draw a dashed line.
imagedestroy: End the image.
imagefill: Graphic coloring.
imagefilledpolygon: Polygon area coloring.
imagefilledrectangle: Rectangular area coloring.
imagefilltoborder: Color within the specified color area.
imagefontheight: Get the height of the font.
imagefontwidth: This PHP graphics processing function gets the width of the font.
imageinterlace: Whether to use interlaced display or not.
imageline: Draw a solid line.
imageloadfont: Load bitmap font.
imagepolygon: Draw polygons.
imagerectangle: Draw a rectangle.
imagesetpixel: draw points.
imagestring: Draw horizontal string.
imagestringup: Draw straight strings.
imagesx: Get the width of the image.
imagesy: Get the height of the image.
imagettfbbox: Calculate the area occupied by ttf text.
imagettftext: Write ttf text into the image.
imagecolorat: This PHP graphics processing function obtains the index value of the color of the specified point in the image.
imagecolorclosest: Calculate the closest color to the specified color in the color table.
imagecolorexact: Calculate the specified color index value on the color table.
imagecolorresolve: Calculate the index value of the specified or closest color on the color table.
imagecolorset: Configure the color of the specified index on the color table.
imagecolorsforindex: Get the color of the specified index on the color table.
imagecolorstotal: Calculate the number of colors in the image.
imagepsloadfont: Load postscript font.
imagepsfreefont: Remove postscript fonts.
imagepsencodefont: convert postscript fonts into vector fonts.
imagepstext: Write postscript text to the image.
imagepsbbox: Calculate the area occupied by postscript text.
imagecreatefrompng: Take out png graphics.
imagepng: Create png graphics.
imagecreatefromgif: Take out the gif graphic.
imagegif: Create gif graphics.

The above list is all types of PHP graphics processing functions.


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/446062.htmlTechArticlegetimagesize: Get the length and width of the image. imagearc: Draw an arc. imagechar: Write horizontal characters. imagecharup: Write straight characters. imagecolorallocate: Match colors. imagecolortran...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn