F.17. Image
Function | Returns | Description |
---|---|---|
exif_tagname(index) | string | Gets headername for index or false if not defined. |
exif_read_data(string filename [, sections_needed [, sub_arrays[, read_thumbnail]]]) | array | Reads header data from the JPEG/TIFF image filename and optionally reads the internal thumbnails. |
exif_thumbnail(string filename [, &width, &height [, &imagetype]]) | string | Reads the embedded thumbnail. |
exif_imagetype(string imagefile) | int | Gets the type of an image. |
gd_info() | array | Retrieves information about the currently installed GD library. |
imageloadfont(string filename) | int | Loads a new font. |
imagesetstyle(resource im, array styles) | bool | Sets the line drawing styles for use with imageline and IMG_COLOR_STYLED. |
imagecreatetruecolor(int x_size, int y_size) | resource | Creates a new true color image. |
imageistruecolor(resource im) | bool | Returns true if the image uses true color. |
imagetruecolortopalette(resource im, bool ditherFlag, int colorsWanted) | void | Converts a true color image to a palette-based image with a number of colors, optionally using dithering. |
imagecolormatch(resource im1, resource im2) | bool | Makes the colors of the palette version of an image more closely match the true color version. |
imagesetthickness(resource im, int thickness) | bool | Sets line thickness for drawing lines, ellipses, rectangles, polygons, and so on. |
imagefilledellipse(resource im, int cx, int cy, int w, int h, int color) | bool | Draws an ellipse. |
imagefilledarc(resource im, int cx, int cy, int w, int h, int s, int ... |
Get Web Standards Programmer's Reference: HTML, CSS, JavaScript®, Perl, Python®, and PHP now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.