Parse the common image function set of PHP

Source: Internet
Author: User
Tags dashed line transparent color
Gd_info function: Get information about the currently installed GD library
getimagesize function: Get the size of the image
Image_type_to_extension function: Gets the file suffix of the image type
Image_type_to_mime_type function: Determine the MIME type of a ImageType constant
image2wbmp function: Output an image to a browser or file in wbmp format
imagealphablending function: Set the color-blending mode of the image
Imageantialias function: Whether to use AntiAlias (anti-aliasing) function
Imagearc function: Drawing an elliptical arc
Imagechar function: Draw a character horizontally
Imagecharup function: To draw a character vertically
imagecolorallocate function: Assigning colors to an image
Imagecolorallocatealpha function: Assigns a color to an image +alpha
Imagecolorat function: Gets the color index value of a 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 and transparency
IMAGECOLORCLOSESTHWB function: Gets the black-white index of the chroma closest to the specified color
Imagecolordeallocate function: Canceling the allocation of image colors
Imagecolorexact function: Gets the index value of the specified color
Imagecolorexactalpha function: Gets the index value of the specified color plus transparency
Imagecolormatch function: Make color palette version in one image more compatible with true Color version
Imagecolorresolve function: Gets the index value of the specified color or the nearest alternative value that is likely to be obtained
Imagecolorresolvealpha function: Gets the index value of the specified color transparency or the nearest alternative value that is likely to be obtained
Imagecolorset function: Set color for the specified palette index
Imagecolorsforindex function: Gets the color of an index
Imagecolorstotal function: Gets the number of colors in the palette of an image
Imagecolortransparent function: Defines a color as a transparent color
imageconvolution function: Request 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 with grayscale
imagecopyresampled function: resample copy part of image and resize
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 the GD 2 file or URL
Imagecreatefromgd2part function: Create a new image from a given GD 2 file or part of a URL
IMAGECREATEFROMGD function: Create a new image from the 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 an image stream in a string
Imagecreatefromwbmp function: Create a new image from the wbmp file or URL
IMAGECREATEFROMXBM function: Create a new image from the XBM file or URL
imagecreatefromxpm function: Create a new image from the xpm file or URL
Imagecreatetruecolor function: Create a new true color image
Imagedashedline function: Draw a dashed line
Imagedestroy function: Destroying an image
Imageellipse function: Draw an ellipse
Imagefill function: Fills an area with the specified color
Imagefilledarc function: Draw an elliptical arc and fill it
Imagefilledellipse function: Draw an ellipse and fill
Imagefilledpolygon function: Draw a polygon and fill
Imagefilledrectangle function: Draw a rectangle and fill
Imagefilltoborder function: Area fills the bounds of the specified color
ImageFilter function: Using filters on images
imagefontheight function: Get font height
imagefontwidth function: Get font width
Imageftbbox function: Give a text box with FreeType2 font
Imagefttext function: Writing text to an image using a FreeType2 font
Imagegammacorrect function: Applying gamma correction to GD image
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: Activates or disables interlaced scanning
Imageistruecolor function: Check if the image is a true color image
imagejpeg function: Output images to a browser or file in JPEG format
Imagelayereffect function: Sets the alpha color-blending flag to use the bound libgd layering effect
Imageline function: Draw a line segment
Imageloadfont function: Load a new font
imagepalettecopy function: Copy palette from one image to another
Imagepng function: Output images to a browser or file in PNG format
Imagepolygon function: Draw a polygon
Imagepsbbox function: Give a text box with PostScript Type1 font
Imagepsencodefont function: Changing the character encoding vector in a font
Imagepsextendfont functions: Expanding or refining fonts
Imagepsfreefont function: Releases the memory occupied by a PostScript Type1 font
Imagepsloadfont function: Loading a PostScript Type1 font from a file
Imagepsslantfont function: Tilt a font
Imagepstext function: Use PostScript Type1 font to draw text string on image
Imagerectangle function: Draw a rectangle
imagerotate function: Rotate an image with a given angle
Imagesavealpha function: Set tags to save full alpha channel information when you save a PNG image
Imagesetbrush function: Sets the brush image for drawing lines
Imagesetpixel function: Draw a single pixel
Imagesetstyle function: Set the style of line drawing
imagesetthickness function: Sets the width of the drawing line
Imagesettile function: Set the map for filling
imagestring function: Draw a line of string horizontally
Imagestringup function: To draw a line of string vertically
Imagesx function: Get image width
Imagesy function: Get image Height
Imagetruecolortopalette function: Converting a true color image to a palette image
Imagettfbbox function: Get the range of text using TrueType fonts
Imagettftext function: Writing text to an image with TrueType fonts
Imagetypes function: Returns the type of image supported by the current PHP version
imagewbmp function: Output an image to a browser or file in wbmp format
IMAGEXBM function: Output a XBM image to a browser or file
iptcembed function: Embed binary IPTC data into a JPEG image
iptcparse function: Resolves a binary IPTC block to a single tag
Jpeg2wbmp function: Convert a JPEG image file to a wbmp image file
Png2wbmp function: Convert a PNG image file to a wbmp image file

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.