Home > Backend Development > PHP Tutorial > php image image function set

php image image function set

WBOY
Release: 2016-07-25 08:56:46
Original
1250 people have browsed it
This article collects some functions related to image operations in PHP. There is a brief description. Friends in need can refer to it.

php image image function set, as follows:

gd_info function: Get information about the currently installed GD library getimagesize function: Get the size of the image image_type_to_extension function: Get the file suffix of the image type image_type_to_mime_type function: Determine the MIME type of an IMAGETYPE constant image2wbmp function: Output image to browser or file in WBMP format imagealphablending function: Set the color mixing mode of the image imageantialias function: whether to use the antialias (anti-aliasing) function imagearc function: draw elliptical arc imagechar function: draw a character horizontally imagecharup function: draw a character vertically imagecolorallocate function: assigns a color to an image imagecolorallocatealpha function: assign color + alpha to an image imagecolorat function: Get the color index value of a certain pixel imagecolorclosest function: Gets the index value of the color closest to the specified color imagecolorclosestalpha function: Gets the index value of the color closest to the specified color plus transparency imagecolorclosesthwb function: Gets the black and white index of the chromaticity closest to the specified color. imagecolordeallocate function: Cancel the allocation of image color imagecolorexact function: Get the index value of the specified color imagecolorexactalpha function: Get the index value of the specified color plus transparency imagecolormatch function: Makes the color palette version of an image more closely match the true color version imagecolorresolve function: Gets the index value of the specified color or the closest possible alternative value imagecolorresolvealpha function: Gets the index value of the specified color transparency or the closest alternative value possible. imagecolorset function: Set the color for the specified palette index imagecolorsforindex function: Get the color of a certain index imagecolorstotal function: Get the number of colors in the palette of an image imagecolortransparent function: Define a color as a transparent color imageconvolution function: apply for a 3*3 convolution matrix imagecopy function: copy part of an image imagecopymerge function: Copy and merge part of an image imagecopymergegray function: Copy and merge part of an image in grayscale imagecopyresampled function: Resample copies part of the image and resizes it imagecopyresized function: copy part of the image and resize it imagecreate function: Create a new palette-based image

imagecreatefromgd2 function: Create a new image from a GD 2 file or URL imagecreatefromgd2part function: Create a new image from a part of the given GD 2 file or URL imagecreatefromgd function: Create a new image from a GD file or URL imagecreatefromgif function: Create a new image from a GIF file or URL imagecreatefromjpeg function: Create a new image from a JPEG file or URL imagecreatefrompng function: Create a new image from a PNG file or URL imagecreatefromstring function: Create a new image from the image stream in the string imagecreatefromwbmp function: Create a new image from a WBMP file or URL imagecreatefromxbm function: Create a new image from an XBM file or URL imagecreatefromxpm function: Create a new image from an XPM file or URL imagecreatetruecolor function: Create a new true color image imagedashedline function: draw a dotted line imagedestroy function: Destroy an image imageellipse function: draw an ellipse imagefill function: fill an area with the specified color imagefilledarc function: draw an elliptical arc and fill it imagefilledellipse function: draw an ellipse and fill it imagefilledpolygon function: draw a polygon and fill it imagefilledrectangle function: draw a rectangle and fill it imagefilltoborder function: fill the area to the border of the specified color imagefilter function: applies a filter to an image imagefontheight function: Get the font height imagefontwidth function: get the font width imageftbbox function: gives a text box using FreeType2 font imagefttext function: Write text to image using FreeType2 font imagegammacorrect function: applies gamma correction to GD images imagegd2 function: Output GD 2 image to browser or file imagegd function: output GD image to browser or file imagegif function: Output an image to a browser or file in GIF format imageinterlace function: Activate or disable interlacing imageistruecolor function: checks whether the image is a true color image imagejpeg function: Output an image in JPEG format to a browser or file imagelayereffect function: Set the alpha mixing flag to use the bound libgd layering effect imageline function: draw a line segment imageloadfont function: load a new font imagepalettecopy function: Copies a palette from one image to another imagepng function: Output an image to a browser or file in PNG format imagepolygon function: draw a polygon imagepsbbox function: gives a text box using PostScript Type1 font imagepsencodefont function: change the character encoding vector in the font imagepsextendfont function: expand or simplify fonts imagepsfreefont function: Release the memory occupied by a PostScript Type1 font imagepsloadfont function: loads a PostScript Type1 font from a file imagepsslantfont function: tilt a font imagepstext function: draw text strings on images using PostScript Type1 font imagerectangle function: draw a rectangle imagerotate function: Rotate the image by a given angle imagesavealpha function: Set flag to save complete alpha channel information when saving PNG images imagesetbrush function: Set the brush image used for drawing lines imagesetpixel function: draw a single pixel imagesetstyle function: Set the style of line drawing imagesethickness function: sets the width of the drawn line imagesettile function: Set the texture used for filling imagestring function: draw a line of string horizontally imagestringup function: draw a line of string vertically imagesx function: Get image width imagesy function: Get image height imagetruecolortopalette function: Convert true color image to palette image imagettfbbox function: Get the range of text using TrueType font imagettftext function: Write text to the image using TrueType font imagetypes function: returns the image types supported by the current PHP version imagewbmp function: Output images to a browser or file in WBMP format imagexbm function: Output XBM images to a browser or file iptcembed function: Embed binary IPTC data into a JPEG image iptcparse function: parses binary IPTC blocks into individual tokens jpeg2wbmp function: Convert JPEG image files to WBMP image files png2wbmp function: Convert PNG image files to WBMP image files



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template