We are using
GetImageSize
Effect: Gets the size of the picture [i.e. length and width]
PHP GD Library Usage: array getimagesize (string filename, array [imageinfo]);
Imagearc
Function: Draw an arc
Usage: int Imagearc (int im, int cx, int cy, int w, int h, int s, int e, int col);
Imagechar
Function: Write out horizontal characters
PHP GD library Usage: int Imagechar (int im, int font, int x, int y, string c, int col);
Imagecharup
Function: Write vertical characters
Usage: int Imagecharup (int im, int font, int x, int y, string c, int col);
Imagecolorallocate
Function: Match color
PHP GD library Usage: int imagecolorallocate (int im, int red, int green, int blue);
Imagecolortransparent
Function: Specify a transparent background color
Usage: int imagecolortransparent (int im, int [col]);
Imagecopyresized
Function: Copy new diagram and resize
PHP GD library Usage: int imagecopyresized (int dst_im, int src_im, int dstX, int dsty, int srcx, int srcy, int dstw, int dsth, int sr CW, int srcH);
Imagecreate
Role: Create a new diagram
Usage: int imagecreate (int x_size, int y_size);
Imagedashedline
Function: Draw Dashed line
Usage: int imagedashedline (int im, int x1, int y1, int x2, int y2, int col);
Imagedestroy
PHP GD library function: End graph
Usage Explanation: int Imagedestroy (int im);
Imagefill
function: Graphic coloring
Usage: int Imagefill (int im, int x, int y, int col);
Imagefilledpolygon
Function: Polygon Area Coloring
PHP GD library Usage: int imagefilledpolygon (int im, array points, int num_points, int col);
Imagefilledrectangle
Function: Rectangle Area Coloring
Usage: int imagefilledrectangle (int im, int x1, int y1, int x2, int y2, int col);
Imagefilltoborder
Function: Specifies the color within the area of the coloring
PHP GD library function usage: int imagefilltoborder (int im, int x, int y, int border, int col);
Imagefontheight
Function: Get the height of the font
Usage: int imagefontheight (int font);
Imagefontwidth
Function: Gets the width of the font
Usage: int imagefontwidth (int font);
Imageinterlace
Function: Use interlaced display or not
PHP GD library function usage: int imageinterlace (int im, int [interlace]);
Imageline
Function: Draw Solid Line
Usage: int imageline (int im, int x1, int y1, int x2, int y2, int col);
Imageloadfont
function: Load lattice font
Usage: int imageloadfont (string file);
Imagepolygon
Function: Draw polygon
Usage: int Imagepolygon (int im, array points, int num_points, int col);
Imagerectangle
Function: Draw Rectangle
Usage: int imagerectangle (int im, int x1, int y1, int x2, int y2, int col);
Imagesetpixel
Function: Draw Point
PHP GD library function usage: int imagesetpixel (int im, int x, int y, int col);
Imagestring
Function: Draw Horizontal string
Usage: int imagestring (int im, int font, int x, int y, string s, int col);
Imagestringup
Function: Draw straight string
Usage: int Imagestringup (int im, int font, int x, int y, string s, int col);
Imagesx
Effect: Get the width of the picture
Usage: int imagesx (int im);
Imagesy
Effect: Get the height of the picture
PHP GD library function usage: int imagesy (int im);
Imagettfbbox
Function: Calculates the area occupied by TTF text
Usage: array imagettfbbox (int size, int angle, string fontfile, string text);
Imagettftext
Function: Write TTF text to the diagram
Usage: array imagettftext (int im, int size, int angle, int x, int y, int col, string fontfile, string text);
Imagecolorat
Effect: Gets the index value of the specified point color in the graph
Usage: int Imagecolorat (int im, int x, int y);
Imagecolorclosest
Function: Calculates the closest person to a specified color in a color table
PHP GD library Usage: int imagecolorclosest (int im, int red, int green, int blue);
Imagecolorexact
Function: Calculates the specified color index value on a color table
Usage: int imagecolorexact (int im, int red, int green, int blue);
Imagecolorresolve
Function: Calculates the index value of the specified or closest color on the color table
Usage: int imagecolorresolve (int im, int red, int green, int blue);
Imagecolorset
Function: Sets the color of the specified index on the color table
Usage: boolean imagecolorset (int im, int index, int red, int green, int blue);
Imagecolorsforindex
Effect: Gets the color of the specified index on the color table
PHP GD Library Usage: array imagecolorsforindex (int im, int index);
Imagecolorstotal
Effect: Calculates the number of colors in a chart
Usage: int imagecolorstotal (int im);
Imagepsloadfont
function: Load PostScript font
Usage: int Imagepsloadfont (string filename);
Imagepsfreefont
Function: Remove PostScript font
Usage: void imagepsfreefont (int fontindex);
Imagepsencodefont
function: PostScript font turns into vector word
PHP GD library function usage: int imagepsencodefont (string encodingfile);
Imagepstext
Function: Write PostScript text to the diagram
Usage: array imagepstext (int image, string text, int font, int size, int foreground, int background, int x, int y, int space, int tightness, float angle, int antialias_steps);
Imagepsbbox
Function: Calculates the area occupied by PostScript text
PHP GD Library Usage: array imagepsbbox (string text, int font, int size, int space, int width, float angle);
Imagecreatefrompng
Function: Remove PNG pattern
Usage: int imagecreatefrompng (string filename);
Imagepng
Role: Create PNG pattern
Usage: int imagepng (int im, string [filename]);
Imagecreatefromgif
Function: Remove GIF pattern
Usage: int imagecreatefromgif (string filename);
Imagegif
Role: Creating GIF patterns
PHP GD library Usage: int imagegif (int im, string [filename]);
http://www.bkjia.com/PHPjc/446047.html www.bkjia.com true http://www.bkjia.com/PHPjc/446047.html techarticle we are using getimagesize function: Get the size of the image [i.e. length and width] PHP GD library usage: array getimagesize (string filename, array [imageinfo]); Imagearc effect: Draw an arc with ...