NAME ^

php_gd.pir - PHP gd Library

DESCRIPTION ^

Functions ^

array gd_info()

NOT IMPLEMENTED.

bool image2wbmp(resource im [, string filename [, int threshold]])

Output WBMP image to browser or file

NOT IMPLEMENTED.

bool imagealphablending(resource im, bool on)

Turn alpha blending mode on or off for the given image

NOT IMPLEMENTED.

bool imageantialias(resource im, bool on)

Should antialiased functions used or not

NOT IMPLEMENTED.

bool imagearc(resource im, int cx, int cy, int w, int h, int s, int e, int col)

Draw a partial ellipse

NOT IMPLEMENTED.

bool imagechar(resource im, int font, int x, int y, string c, int col)

Draw a character

NOT IMPLEMENTED.

bool imagecharup(resource im, int font, int x, int y, string c, int col)

Draw a character rotated 90 degrees counter-clockwise

NOT IMPLEMENTED.

int imagecolorallocate(resource im, int red, int green, int blue)

Allocate a color for an image

NOT IMPLEMENTED.

int imagecolorallocatealpha(resource im, int red, int green, int blue, int alpha)

Allocate a color with an alpha level. Works for true color and palette based images

NOT IMPLEMENTED.

int imagecolorat(resource im, int x, int y)

Get the index of the color of a pixel

NOT IMPLEMENTED.

int imagecolorclosest(resource im, int red, int green, int blue)

Get the index of the closest color to the specified color

NOT IMPLEMENTED.

int imagecolorclosestalpha(resource im, int red, int green, int blue, int alpha)

Find the closest matching colour with alpha transparency

NOT IMPLEMENTED.

int imagecolorclosesthwb(resource im, int red, int green, int blue)

Get the index of the color which has the hue, white and blackness nearest to the given color

NOT IMPLEMENTED.

bool imagecolordeallocate(resource im, int index)

De-allocate a color for an image

NOT IMPLEMENTED.

int imagecolorexact(resource im, int red, int green, int blue)

Get the index of the specified color

NOT IMPLEMENTED.

int imagecolorexactalpha(resource im, int red, int green, int blue, int alpha)

Find exact match for colour with transparency

NOT IMPLEMENTED.

bool imagecolormatch(resource im1, resource im2)

Makes the colors of the palette version of an image more closely match the true color version

NOT IMPLEMENTED.

int imagecolorresolve(resource im, int red, int green, int blue)

Get the index of the specified color or its closest possible alternative

NOT IMPLEMENTED.

int imagecolorresolvealpha(resource im, int red, int green, int blue, int alpha)

Resolve/Allocate a colour with an alpha level. Works for true colour and palette based images

NOT IMPLEMENTED.

void imagecolorset(resource im, int col, int red, int green, int blue)

Set the color for the specified palette index

NOT IMPLEMENTED.

array imagecolorsforindex(resource im, int col)

Get the colors for an index

NOT IMPLEMENTED.

int imagecolorstotal(resource im)

Find out the number of colors in an image's palette

NOT IMPLEMENTED.

int imagecolortransparent(resource im [, int col])

Define a color as transparent

NOT IMPLEMENTED.

resource imageconvolution(resource src_im, array matrix3x3, double div, double offset)

Apply a 3x3 convolution matrix, using coefficient div and offset

NOT IMPLEMENTED.

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)

Copy part of an image

NOT IMPLEMENTED.

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)

Merge one part of an image with another

NOT IMPLEMENTED.

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)

Merge one part of an image with another

NOT IMPLEMENTED.

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)

Copy and resize part of an image using resampling to help ensure clarity

NOT IMPLEMENTED.

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)

Copy and resize part of an image

NOT IMPLEMENTED.

resource imagecreate(int x_size, int y_size)

Create a new image

NOT IMPLEMENTED.

resource imagecreatefromgd(string filename)

Create a new image from GD file or URL

NOT IMPLEMENTED.

resource imagecreatefromgd2(string filename)

Create a new image from GD2 file or URL

NOT IMPLEMENTED.

resource imagecreatefromgd2part(string filename, int srcX, int srcY, int width, int height)

Create a new image from a given part of GD2 file or URL

NOT IMPLEMENTED.

resource imagecreatefromgif(string filename)

Create a new image from GIF file or URL

NOT IMPLEMENTED.

resource imagecreatefromjpeg(string filename)

Create a new image from JPEG file or URL

NOT IMPLEMENTED.

resource imagecreatefrompng(string filename)

Create a new image from PNG file or URL

NOT IMPLEMENTED.

resource imagecreatefromstring(string image)

Create a new image from the image stream in the string

NOT IMPLEMENTED.

resource imagecreatefromwbmp(string filename)

Create a new image from WBMP file or URL

NOT IMPLEMENTED.

resource imagecreatefromxbm(string filename)

Create a new image from XBM file or URL

NOT IMPLEMENTED.

resource imagecreatefromxpm(string filename)

Create a new image from XPM file or URL

NOT IMPLEMENTED.

resource imagecreatetruecolor(int x_size, int y_size)

Create a new true color image

NOT IMPLEMENTED.

bool imagedashedline(resource im, int x1, int y1, int x2, int y2, int col)

Draw a dashed line

NOT IMPLEMENTED.

bool imagedestroy(resource im)

Destroy an image

NOT IMPLEMENTED.

bool imageellipse(resource im, int cx, int cy, int w, int h, int color)

Draw an ellipse

NOT IMPLEMENTED.

bool imagefill(resource im, int x, int y, int col)

Flood fill

NOT IMPLEMENTED.

bool imagefilledarc(resource im, int cx, int cy, int w, int h, int s, int e, int col, int style)

Draw a filled partial ellipse

NOT IMPLEMENTED.

bool imagefilledellipse(resource im, int cx, int cy, int w, int h, int color)

Draw an ellipse

NOT IMPLEMENTED.

bool imagefilledpolygon(resource im, array point, int num_points, int col)

Draw a filled polygon

NOT IMPLEMENTED.

bool imagefilledrectangle(resource im, int x1, int y1, int x2, int y2, int col)

Draw a filled rectangle

NOT IMPLEMENTED.

bool imagefilltoborder(resource im, int x, int y, int border, int col)

Flood fill to specific color

NOT IMPLEMENTED.

bool imagefilter(resource src_im, int filtertype, [args] )

Applies Filter an image using a custom angle

NOT IMPLEMENTED.

int imagefontheight(int font)

Get font height

NOT IMPLEMENTED.

int imagefontwidth(int font)

Get font width

NOT IMPLEMENTED.

array imageftbbox(float size, float angle, string font_file, string text [, array extrainfo])

Give the bounding box of a text using fonts via freetype2

NOT IMPLEMENTED.

array imagefttext(resource im, float size, float angle, int x, int y, int col, string font_file, string text [, array extrainfo])

Write text to the image using fonts via freetype2

NOT IMPLEMENTED.

bool imagegammacorrect(resource im, float inputgamma, float outputgamma)

Apply a gamma correction to a GD image

NOT IMPLEMENTED.

bool imagegd(resource im [, string filename])

Output GD image to browser or file

NOT IMPLEMENTED.

bool imagegd2(resource im [, string filename, [, int chunk_size, [, int type]]])

Output GD2 image to browser or file

NOT IMPLEMENTED.

bool imagegif(resource im [, string filename])

Output GIF image to browser or file

NOT IMPLEMENTED.

resource imagegrabscreen()

Grab a screenshot

NOT IMPLEMENTED.

resource imagegrabwindow(int window_handle [, int client_area])

Grab a window or its client area using a windows handle (HWND property in COM instance)

NOT IMPLEMENTED.

int imageinterlace(resource im [, int interlace])

Enable or disable interlace

NOT IMPLEMENTED.

bool imageistruecolor(resource im)

return true if the image uses truecolor

NOT IMPLEMENTED.

bool imagejpeg(resource im [, string filename [, int quality]])

Output JPEG image to browser or file

NOT IMPLEMENTED.

bool imagelayereffect(resource im, int effect)

Set the alpha blending flag to use the bundled libgd layering effects

NOT IMPLEMENTED.

bool imageline(resource im, int x1, int y1, int x2, int y2, int col)

Draw a line

NOT IMPLEMENTED.

int imageloadfont(string filename)

Load a new font

NOT IMPLEMENTED.

void imagepalettecopy(resource dst, resource src)

Copy the palette from the src image onto the dst image

NOT IMPLEMENTED.

bool imagepng(resource im [, string filename])

Output PNG image to browser or file

NOT IMPLEMENTED.

bool imagepolygon(resource im, array point, int num_points, int col)

Draw a polygon

NOT IMPLEMENTED.

array imagepsbbox(string text, resource font, int size [, int space, int tightness, int angle])

Return the bounding box needed by a string if rasterized

NOT IMPLEMENTED.

int imagepscopyfont(int font_index)

Make a copy of a font for purposes like extending or reenconding

NOT IMPLEMENTED.

bool imagepsencodefont(resource font_index, string filename)

To change a fonts character encoding vector

NOT IMPLEMENTED.

bool imagepsextendfont(resource font_index, float extend)

Extend or or condense (if extend < 1) a font

NOT IMPLEMENTED.

bool imagepsfreefont(resource font_index)

Free memory used by a font

NOT IMPLEMENTED.

resource imagepsloadfont(string pathname)

Load a new font from specified file

NOT IMPLEMENTED.

bool imagepsslantfont(resource font_index, float slant)

Slant a font

NOT IMPLEMENTED.

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])

Rasterize a string over an image

NOT IMPLEMENTED.

bool imagerectangle(resource im, int x1, int y1, int x2, int y2, int col)

Draw a rectangle

NOT IMPLEMENTED.

resource imagerotate(resource src_im, float angle, int bgdcolor [, int ignoretransparent])

Rotate an image using a custom angle

NOT IMPLEMENTED.

bool imagesavealpha(resource im, bool on)

Include alpha channel to a saved image

NOT IMPLEMENTED.

bool imagesetbrush(resource image, resource brush)

Set the brush image to $brush when filling $image with the "IMG_COLOR_BRUSHED" color

NOT IMPLEMENTED.

bool imagesetpixel(resource im, int x, int y, int col)

Set a single pixel

NOT IMPLEMENTED.

bool imagesetstyle(resource im, array styles)

Set the line drawing styles for use with imageline and IMG_COLOR_STYLED.

NOT IMPLEMENTED.

bool imagesetthickness(resource im, int thickness)

Set line thickness for drawing lines, ellipses, rectangles, polygons etc.

NOT IMPLEMENTED.

bool imagesettile(resource image, resource tile)

Set the tile image to $tile when filling $image with the "IMG_COLOR_TILED" color

NOT IMPLEMENTED.

bool imagestring(resource im, int font, int x, int y, string str, int col)

Draw a string horizontally

NOT IMPLEMENTED.

bool imagestringup(resource im, int font, int x, int y, string str, int col)

Draw a string vertically - rotated 90 degrees counter-clockwise

NOT IMPLEMENTED.

int imagesx(resource im)

Get image width

NOT IMPLEMENTED.

int imagesy(resource im)

Get image height

NOT IMPLEMENTED.

void imagetruecolortopalette(resource im, bool ditherFlag, int colorsWanted)

Convert a true colour image to a palette based image with a number of colours, optionally using dithering.

NOT IMPLEMENTED.

array imagettfbbox(float size, float angle, string font_file, string text)

Give the bounding box of a text using TrueType fonts

NOT IMPLEMENTED.

array imagettftext(resource im, float size, float angle, int x, int y, int col, string font_file, string text)

Write text to the image using a TrueType font

NOT IMPLEMENTED.

int imagetypes(void)

Return the types of images supported in a bitfield - 1=GIF, 2=JPEG, 4=PNG, 8=WBMP, 16=XPM

NOT IMPLEMENTED.

bool imagewbmp(resource im [, string filename, [, int foreground]])

Output WBMP image to browser or file

NOT IMPLEMENTED.

int imagexbm(int im, string filename [, int foreground])

Output XBM image to browser or file

NOT IMPLEMENTED.

bool jpeg2wbmp(string f_org, string f_dest, int d_height, int d_width, int threshold)

Convert JPEG image to WBMP image

NOT IMPLEMENTED.

bool png2wbmp(string f_org, string f_dest, int d_height, int d_width, int threshold)

Convert PNG image to WBMP image

NOT IMPLEMENTED.


parrot