GetImageSize
Function: Get the size of the image [i.e. length and width] Usage: array GetImageSize(string filename, array [imageinfo]);
ImageArc
Function: draw arc Usage: int ImageArc(int im, int cx, int cy, int w, int h, int s, int e, int col);
ImageChar
Function: write horizontal characters 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 colors Usage: int ImageColorAllocate(int im, int red, int green, int blue);
ImageColorTransparent
Function: Specify transparent background color Usage: int ImageColorTransparent(int im, int [col]);
ImageCopyResized
Function: Copy a new image and resize Usage: int ImageCopyResized(int dst_im, int src_im, int dstX, int dstY, int srcX, int srcY, int dstW, int dstH, int srcW, int srcH);
ImageCreate
Function: Create a new image Usage: int ImageCreate(int x_size, int y_size);
ImageDashedLine
Function: Draw a dotted line Usage: int ImageDashedLine(int im, int x1, int y1, int x2, int y2, int col);
ImageDestroy function: end graphics 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 Usage: int ImageFilledPolygon(int im, array points, int num_points, int col);
ImageFilledRectangle function: rectangular area coloring usage: int ImageFilledRectangle(int im, int x1, int y1, int x2, int y2, int col);
ImageFillToBorder function: Coloring within the specified color area 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: Get the width of the font Usage: int ImageFontWidth(int font);
ImageInterlace function: use interlaced display or not 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 bitmap font Usage: int ImageLoadFont(string file);
ImagePolygon function: draw polygons Usage: int ImagePolygon(int im, array points, int num_points, int col);
ImageRectangle function: draw a rectangle Usage: int ImageRectangle(int im, int x1, int y1, int x2, int y2, int col);
ImageSetPixel function: draw points 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
Function: Get the width of the image Usage: int ImageSX(int im);
ImageSY
Function: Get the height of the image Usage: int ImageSY(int im);
ImageTTFBBox
Function: Calculate the area occupied by TTF text Usage: array ImageTTFBBox(int size, int angle, string fontfile, string text);
ImageTTFText function: write TTF text into the picture Usage: array ImageTTFText(int im, int size, int angle, int x, int y, int col, string fontfile, string text); ImageColorAt function: get the index of the color of the specified point in the picture Value usage: int ImageColorAt(int im, int x, int y);
ImageColorClosest
Function: Calculate the color in the color table that is closest to the specified color. Usage: int ImageColorClosest(int im, int red, int green, int blue);
ImageColorExact
Function: Calculate the specified color index value on the color table. Usage: int ImageColorExact(int im, int red, int green, int blue);
ImageColorResolve
Function: Calculate 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: Set the color of the specified index on the color table. Usage: boolean ImageColorSet(int im, int index, int red, int green, int blue); ImageColorsForIndex. Function: Get the color of the specified index on the color table. Usage: array ImageColorsForIndex(int im , int index);
ImageColorsTotal
Function: Calculate the color number of the graph Usage: int ImageColorsTotal(int im); ImagePSLoadFont Function: Load the PostScript font Usage: int ImagePSLoadFont(string filename);
ImagePSFreeFont
Function: Remove PostScript font Usage: void ImagePSFreeFont(int fontindex);
ImagePSEncodeFont
Function: Convert PostScript font to vector font Usage: int ImagePSEncodeFont(string encodingfile);
ImagePSText function: write PostScript text into the image 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: Calculate the area occupied by PostScript text Usage: array ImagePSBBox(string text, int font, int size, int space, int width, float angle);
ImageCreateFromPNG Function: Take out PNG graphics Usage: int ImageCreateFromPng(string filename);
ImagePNG function: Create PNG graphics Usage: int ImagePng(int im, string [filename]);
ImageCreateFromGIF Function: Remove GIF graphics Usage: int ImageCreateFromGif(string filename);
ImageGIF function: Create GIF graphic usage: int ImageGif(int im, string [filename]);