parrotcode: PHP gd Library | |
Contents | Language Implementations | Pipp |
php_gd.pir - PHP gd Library
array gd_info()
bool image2wbmp(resource im [, string filename [, int threshold]])
bool imagealphablending(resource im, bool on)
bool imageantialias(resource im, bool on)
bool imagearc(resource im, int cx, int cy, int w, int h, int s, int e, int col)
bool imagechar(resource im, int font, int x, int y, string c, int col)
bool imagecharup(resource im, int font, int x, int y, string c, int col)
int imagecolorallocate(resource im, int red, int green, int blue)
int imagecolorallocatealpha(resource im, int red, int green, int blue, int alpha)
int imagecolorat(resource im, int x, int y)
int imagecolorclosest(resource im, int red, int green, int blue)
int imagecolorclosestalpha(resource im, int red, int green, int blue, int alpha)
int imagecolorclosesthwb(resource im, int red, int green, int blue)
bool imagecolordeallocate(resource im, int index)
int imagecolorexact(resource im, int red, int green, int blue)
int imagecolorexactalpha(resource im, int red, int green, int blue, int alpha)
bool imagecolormatch(resource im1, resource im2)
int imagecolorresolve(resource im, int red, int green, int blue)
int imagecolorresolvealpha(resource im, int red, int green, int blue, int alpha)
void imagecolorset(resource im, int col, int red, int green, int blue)
array imagecolorsforindex(resource im, int col)
int imagecolorstotal(resource im)
int imagecolortransparent(resource im [, int col])
resource imageconvolution(resource src_im, array matrix3x3, double div, double offset)
bool imagecopy(resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h)
bool imagecopymerge(resource src_im, resource dst_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h, int pct)
bool imagecopymergegray(resource src_im, resource dst_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h, int pct)
bool imagecopyresampled(resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int dst_w, int dst_h, int src_w, int src_h)
bool imagecopyresized(resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int dst_w, int dst_h, int src_w, int src_h)
resource imagecreate(int x_size, int y_size)
resource imagecreatefromgd(string filename)
resource imagecreatefromgd2(string filename)
resource imagecreatefromgd2part(string filename, int srcX, int srcY, int width, int height)
resource imagecreatefromgif(string filename)
resource imagecreatefromjpeg(string filename)
resource imagecreatefrompng(string filename)
resource imagecreatefromstring(string image)
resource imagecreatefromwbmp(string filename)
resource imagecreatefromxbm(string filename)
resource imagecreatefromxpm(string filename)
resource imagecreatetruecolor(int x_size, int y_size)
bool imagedashedline(resource im, int x1, int y1, int x2, int y2, int col)
bool imagedestroy(resource im)
bool imageellipse(resource im, int cx, int cy, int w, int h, int color)
bool imagefill(resource im, int x, int y, int col)
bool imagefilledarc(resource im, int cx, int cy, int w, int h, int s, int e, int col, int style)
bool imagefilledellipse(resource im, int cx, int cy, int w, int h, int color)
bool imagefilledpolygon(resource im, array point, int num_points, int col)
bool imagefilledrectangle(resource im, int x1, int y1, int x2, int y2, int col)
bool imagefilltoborder(resource im, int x, int y, int border, int col)
bool imagefilter(resource src_im, int filtertype, [args] )
int imagefontheight(int font)
int imagefontwidth(int font)
array imageftbbox(float size, float angle, string font_file, string text [, array extrainfo])
array imagefttext(resource im, float size, float angle, int x, int y, int col, string font_file, string text [, array extrainfo])
bool imagegammacorrect(resource im, float inputgamma, float outputgamma)
bool imagegd(resource im [, string filename])
bool imagegd2(resource im [, string filename, [, int chunk_size, [, int type]]])
bool imagegif(resource im [, string filename])
resource imagegrabscreen()
resource imagegrabwindow(int window_handle [, int client_area])
int imageinterlace(resource im [, int interlace])
bool imageistruecolor(resource im)
bool imagejpeg(resource im [, string filename [, int quality]])
bool imagelayereffect(resource im, int effect)
bool imageline(resource im, int x1, int y1, int x2, int y2, int col)
int imageloadfont(string filename)
void imagepalettecopy(resource dst, resource src)
bool imagepng(resource im [, string filename])
bool imagepolygon(resource im, array point, int num_points, int col)
array imagepsbbox(string text, resource font, int size [, int space, int tightness, int angle])
int imagepscopyfont(int font_index)
bool imagepsencodefont(resource font_index, string filename)
bool imagepsextendfont(resource font_index, float extend)
bool imagepsfreefont(resource font_index)
resource imagepsloadfont(string pathname)
bool imagepsslantfont(resource font_index, float slant)
array imagepstext(resource image, string text, resource font, int size, int foreground, int background, int xcoord, int ycoord [, int space, int tightness, float angle, int antialias])
bool imagerectangle(resource im, int x1, int y1, int x2, int y2, int col)
resource imagerotate(resource src_im, float angle, int bgdcolor [, int ignoretransparent])
bool imagesavealpha(resource im, bool on)
bool imagesetbrush(resource image, resource brush)
bool imagesetpixel(resource im, int x, int y, int col)
bool imagesetstyle(resource im, array styles)
bool imagesetthickness(resource im, int thickness)
bool imagesettile(resource image, resource tile)
bool imagestring(resource im, int font, int x, int y, string str, int col)
bool imagestringup(resource im, int font, int x, int y, string str, int col)
int imagesx(resource im)
int imagesy(resource im)
void imagetruecolortopalette(resource im, bool ditherFlag, int colorsWanted)
array imagettfbbox(float size, float angle, string font_file, string text)
array imagettftext(resource im, float size, float angle, int x, int y, int col, string font_file, string text)
int imagetypes(void)
bool imagewbmp(resource im [, string filename, [, int foreground]])
int imagexbm(int im, string filename [, int foreground])
bool jpeg2wbmp(string f_org, string f_dest, int d_height, int d_width, int threshold)
bool png2wbmp(string f_org, string f_dest, int d_height, int d_width, int threshold)
|