exif_imagetype | PHP 4.3.0
int exif_imagetype(string imagefile) |
Gets the type of an image.

exif_read_data | PHP 4.1.0
array|false exif_read_data(string filename[, sections_needed[, sub_arrays[, read_thumbnail]]]) |
Reads header data from the JPEG/TIFF image filename and optionally reads the internal thumbnails.

exif_thumbnail | PHP 4.1.0
string|false exif_thumbnail(string filename[, &width, &height[, &imagetype]]) |
Reads the embedded thumbnail.

getimagesize | PHP 3.0
array getimagesize(string imagefile[, array info]) |
Gets the size of an image as a four-element array.

image_type_to_mime_type | PHP 4.3.0
array image_type_to_mime_type(int imagetype) |
Gets the MIME type for imagetype returned by getimagesize() , exif_read_data() , exif_thumbnail() , and exif_imagetype().

image2wbmp | PHP 4.0.5
int image2wbmp(int im[, string filename[, int threshold]]) |
Outputs WBMP image to browser or file.

imagealphablending | PHP 4.0.6
void imagealphablending(resource im, bool on) |
Turns alpha blending mode on or off for the given image.

imagearc | PHP 3.0
int imagearc(int im, int cx, int cy, int w, int h, int s, int e, int col) |
Draws a partial ellipse.

imagechar | PHP 3.0
int imagechar(int im, int font, int x, int y, string c, int col) |
Draws a character.

imagecharup | PHP 3.0
int imagecharup(int im, int font, int x, int y, string c, int col) |
Draws a character rotated 90 degrees counterclockwise.

imagecolorallocate | PHP 3.0
int imagecolorallocate(int im, int red, int green, int blue) |
Allocates a color for an image.

imagecolorat | PHP 3.0
int imagecolorat(int im, int x, int y) |
Gets the index of the color of a pixel.

imagecolorclosest | PHP 3.0
int imagecolorclosest(int im, int red, int green, int blue) |
Gets the index of the closest color to the specified color.

imagecolorclosestalpha | PHP 4.0.6
int imagecolorclosestalpha(resource im, int red, int green, int blue, int alpha) |
Finds the closest matching color with alpha transparency.

imagecolorclosesthwb | PHP 4.0.1
int imagecolorclosesthwb(int im, int red, int green, int blue) |
Gets the index of the color that has the hue, white, and blackness nearest to the given color.

imagecolordeallocate | PHP 3.0.6
int imagecolordeallocate(int im, int index) |
Deallocates a color for an image.

imagecolorexact | PHP 3.0
int imagecolorexact(int im, int red, int green, int blue) |
Gets the index of the specified color.

imagecolorexactalpha | PHP 4.0.6
int imagecolorexactalpha(resource im, int red, int green, int blue, int alpha) |
Finds exact match for color with transparency.

imagecolorresolve | PHP 3.0.2
int imagecolorresolve(int im, int red, int green, int blue) |
Gets the index of the specified color or its closest possible alternative.

imagecolorresolvealpha | PHP 4.0.6
int imagecolorresolvealpha(resource im, int red, int green, int blue, int alpha) |
Resolves/allocates a color with an alpha level; works for true color and palette based images.

imagecolorset | PHP 3.0
int imagecolorset(int im, int col, int red, int green, int blue) |
Sets the color for the specified palette index.

imagecolorsforindex | PHP 3.0
array imagecolorsforindex(int im, int col) |
Gets the colors for an index.

imagecolorstotal | PHP 3.0
int imagecolorstotal(int im) |
Finds out the number of colors in an image's palette.

imagecolortransparent | PHP 3.0
int imagecolortransparent(int im[, int col]) |
Defines a color as transparent.

imagecopy | PHP 3.0.6
int imagecopy(int dst_im, int src_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h) |
Copies part of an image.

imagecopymerge | PHP 4.0.1
int imagecopymerge(int src_im, int dst_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h, int pct) |
Merges one part of an image with another.

imagecopymergegray | PHP 4.0.6
int imagecopymergegray(int src_im, int dst_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h, int pct) |
Merges one part of an image with another.

imagecopyresampled | PHP 4.0.6
int imagecopyresampled(int dst_im, int 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) |
Copies and resizes part of an image using resampling to help ensure clarity.

imagecopyresized | PHP 3.0
int imagecopyresized(int dst_im, int 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) |
Copies and resizes part of an image.

imagecreate | PHP 3.0
int imagecreate(int x_size, int y_size) |
Creates a new image.

imagecreatefromgd2 | PHP 4.1.0
int imagecreatefromgd2(string filename) |
Creates a new image from GD2 file or URL.

imagecreatefromgd2part | PHP 4.1.0
int imagecreatefromgd2part(string filename, int srcX, int srcY, int width, int height) |
Creates a new image from a given part of GD2 file or URL.

imagecreatefromgd | PHP 4.1.0
int imagecreatefromgd(string filename) |
Creates a new image from GD file or URL.

imagecreatefromgif | PHP 3.0
int imagecreatefromgif(string filename) |
Creates a new image from GIF file or URL.

imagecreatefromjpeg | PHP 3.0.16
int imagecreatefromjpeg(string filename) |
Creates a new image from JPEG file or URL.

imagecreatefrompng | PHP 3.0.13
int imagecreatefrompng(string filename) |
Creates a new image from PNG file or URL.

imagecreatefromstring | PHP 4.0.4
int imagecreatefromstring(string image) |
Creates a new image from the image stream in the string.

imagecreatefromwbmp | PHP 4.0.1
int imagecreatefromwbmp(string filename) |
Creates a new image from WBMP file or URL.

imagecreatefromxbm | PHP 4.0.1
int imagecreatefromxbm(string filename) |
Creates a new image from XBM file or URL.

imagecreatefromxpm | PHP 4.0.1
int imagecreatefromxpm(string filename) |
Creates a new image from XPM file or URL.

imagecreatetruecolor | PHP 4.0.6
int imagecreatetruecolor(int x_size, int y_size) |
Creates a new true color image.

imagedashedline | PHP 3.0
int imagedashedline(int im, int x1, int y1, int x2, int y2, int col) |
Draws a dashed line.

imagedestroy | PHP 3.0
int imagedestroy(int im) |
Destroys an image.

imageellipse | PHP 4.0.6
void imageellipse(resource im, int cx, int cy, int w, int h, int color) |
Draws an ellipse.

imagefill | PHP 3.0
int imagefill(int im, int x, int y, int col) |
Performs a flood fill.

imagefilledarc | PHP 4.0.6
int imagefilledarc(int im, int cx, int cy, int w, int h, int s, int e, int col, int style) |
Draws a filled partial ellipse.

imagefilledellipse | PHP 4.0.6
void imagefilledellipse(resource im, int cx, int cy, int w, int h, int color) |
Draws an ellipse.

imagefilledpolygon | PHP 3.0
int imagefilledpolygon(int im, array point, int num_points, int col) |
Draws a filled polygon.

imagefilledrectangle | PHP 3.0
int imagefilledrectangle(int im, int x1, int y1, int x2, int y2, int col) |
Draws a filled rectangle.

imagefilltoborder | PHP 3.0
int imagefilltoborder(int im, int x, int y, int border, int col) |
Performs a flood fill to specific color.

imagefontheight | PHP 3.0
int imagefontheight(int font) |
Gets font height.

imagefontwidth | PHP 3.0
int imagefontwidth(int font) |
Gets font width.

imageftbbox | PHP 4.1.0
array imageftbbox(int size, int angle, string font_file, string text[, array extrainfo]) |
Gives the bounding box of a text using fonts via freetype2.

imagefttext | PHP 4.1.0
array imagettftext(int im, int size, int angle, int x, int y, int col, string font_file, string text) |
Writes text to the image using fonts via freetype2.

imagegammacorrect | PHP 3.0.13
int imagegammacorrect(int im, float inputgamma, float outputgamma) |
Applies a gamma correction to a GD image.

imagegd2 | PHP 4.1.0
int imagegd2(int im[, string filename]) |
Outputs GD2 image to browser or file.

imagegd | PHP 4.1.0
int imagegd(int im[, string filename]) |
Outputs GD image to browser or file.

imagegif | PHP 3.0
int imagegif(int im[, string filename]) |
Outputs GIF image to browser or file.

imageinterlace | PHP 3.0
int imageinterlace(int im[, int interlace]) |
Enables or disables interlace.

imagejpeg | PHP 3.0.16
int imagejpeg(int im[, string filename[, int quality]]) |
Outputs JPEG image to browser or file.

imageline | PHP 3.0
int imageline(int im, int x1, int y1, int x2, int y2, int col) |
Draws a line.

imageloadfont | PHP 3.0
int imageloadfont(string filename) |
Loads a new font.

imagepalettecopy | PHP 4.0.1
int imagepalettecopy(int dst, int src) |
Copies the palette from the src image onto the dst image.

imagepng | PHP 3.0.13
int imagepng(int im[, string filename]) |
Outputs PNG image to browser or file.

imagepolygon | PHP 3.0
int imagepolygon(int im, array point, int num_points, int col) |
Draws a polygon.

imagepsbbox | PHP 3.0.9
array imagepsbbox(string text, int font, int size[, int space, int tightness, int angle]) |
Returns the bounding box needed by a string if rasterized.

imagepscopyfont | PHP 3.0.9
int imagepscopyfont(int font_index) |
Makes a copy of a font for purposes like extending or reencoding.

imagepsencodefont | PHP 3.0.9
bool imagepsencodefont(int font_index, string filename) |
Changes a font's character encoding vector.

imagepsextendfont | PHP 3.0.9
bool imagepsextendfont(int font_index, float extend) |
Extends or condenses (if extend is less than 1) a font.

imagepsfreefont | PHP 3.0.9
bool imagepsfreefont(int font_index) |
Frees memory used by a font.

imagepsloadfont | PHP 3.0.9
int imagepsloadfont(string pathname) |
Loads a new font from specified file.

imagepsslantfont | PHP 3.0.9
bool imagepsslantfont(int font_index, float slant) |
Slants a font.

imagepstext | PHP 3.0.9
array imagepstext(int image, string text, int font, int size, int xcoord, int ycoord[, int space, int tightness, float angle, int antialias]) |
Rasterizes a string over an image.

imagerectangle | PHP 3.0
int imagerectangle(int im, int x1, int y1, int x2, int y2, int col) |
Draws a rectangle.

imagesetbrush | PHP 4.0.6
int imagesetbrush(resource image, resource brush) |
Sets the brush image for line drawing.

imagesetpixel | PHP 3.0
int imagesetpixel(int im, int x, int y, int col) |
Sets a single pixel.

imagesetstyle | PHP 4.0.6
void imagesetstyle(resource im, array styles) |
Sets the style for line drawing.

imagesetthickness | PHP 4.0.6
void imagesetthickness(resource im, int thickness) |
Sets line thickness for line drawing.

imagesettile | PHP 4.0.6
int imagesettile(resource image, resource tile) |
Sets the tile image for filling.

imagestring | PHP 3.0
int imagestring(int im, int font, int x, int y, string str, int col) |
Draws a string horizontally.

imagestringup | PHP 3.0
int imagestringup(int im, int font, int x, int y, string str, int col) |
Draws a string vertically (rotated 90 degrees counterclockwise).

imagesx | PHP 3.0
int imagesx(int im) |
Gets image width.

imagesy | PHP 3.0
int imagesy(int im) |
Gets image height.

imagetruecolortopalette | PHP 4.0.6
void imagetruecolortopalette(resource im, bool ditherFlag, int colorsWanted) |
Converts a true color image to a palette-based image with a number of colors, optionally using dithering.

imagettfbbox | PHP 3.0.1
array imagettfbbox(int size, int angle, string font_file, string text) |
Gives the bounding box of a text using TrueType fonts.

imagettftext | PHP 3.0
array imagettftext(int im, int size, int angle, int x, int y, int col, string font_file, string text) |
Writes text to the image using a TrueType font.

imagetypes | PHP 3 CVS Only
int imagetypes(void) |
Returns the types of images supported in a bitfield (1=GIF, 2=JPEG, 4=PNG, 8=WBMP, 16=XPM).

imagewbmp | PHP 3.0.15
int imagewbmp(int im[, string filename,[, int foreground]]) |
Outputs WBMP image to browser or file.

iptcembed | PHP 3.0.7
array iptcembed(string iptcdata, string jpeg_file_name[, int spool]) |
Embeds binary IPTC data into a JPEG image.

iptcparse | PHP 3.0.6
array iptcparse(string iptcdata) |
Parses binary IPTC data into associative array.

jpeg2wbmp | PHP 4.0.5
void jpeg2wbmp (string f_org, string f_dest, int d_height, int d_width, int threshold) |
Converts JPEG image to WBMP image.

png2wbmp | PHP 4.0.5
void png2wbmp (string f_org, string f_dest, int d_height, int d_width, int threshold) |
Converts PNG image to WBMP image.