parsing PHP common image function set _php techniques

Source: Internet
Author: User
Tags transparent color

Gd_info function: Get information on the currently installed GD library
getimagesize function: Gets the size of the image
Image_type_to_extension function: Gets the file suffix of the image type
Image_type_to_mime_type function: To determine the MIME type of a ImageType constant
image2wbmp function: Output an image to a browser or file in wbmp format
imagealphablending function: Setting the image blending mode
Imageantialias function: Whether to use the AntiAlias (anti-aliasing) feature
Imagearc function: Draw an elliptical arc
Imagechar function: To draw a character horizontally
Imagecharup function: Draw a character vertically
imagecolorallocate function: Assigning color to an image
Imagecolorallocatealpha function: Assign 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 plus transparency
IMAGECOLORCLOSESTHWB function: Gets the black and white index of the nearest chroma to the specified color
Imagecolordeallocate function: Remove Image Color Assignment
Imagecolorexact function: Gets the index value of the specified color
Imagecolorexactalpha function: Gets the index value of the specified color plus transparency
Imagecolormatch function: Makes the color palette version of an image more matched to the true color version
Imagecolorresolve function: Gets the index value of the specified color or the nearest alternate value that is likely to be obtained
Imagecolorresolvealpha function: Gets the index value of the specified color transparency or the closest possible substitution value
Imagecolorset function: Sets the 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: Define a color as a transparent color
Imageconvolution function: Apply for a 3*3 convolution matrix
imagecopy function: Copying part of an image
Imagecopymerge function: Copy and merge part of an image
Imagecopymergegray function: Copy and merge part of image with grayscale
imagecopyresampled function: Resample copied part of image and resize
imagecopyresized function: Copy partial images and resize
Imagecreate function: Create a new palette-based image

IMAGECREATEFROMGD2 function: Create a new image from the GD 2 file or URL
Imagecreatefromgd2part function: Creates 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 a wbmp file or URL
IMAGECREATEFROMXBM function: Create a new image from a XBM file or URL
imagecreatefromxpm function: Create a new image from a xpm file or URL
Imagecreatetruecolor function: Create a new true color image
Imagedashedline function: Draw a dotted 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
Imagefilledellipse function: Draw an ellipse and populate
Imagefilledpolygon function: Draw a polygon and fill
Imagefilledrectangle function: Draw a rectangle and populate
Imagefilltoborder function: The range fills the bounds of the specified color
ImageFilter function: Using Filters for images
imagefontheight function: Get font height
imagefontwidth function: Get font width
Imageftbbox function: Gives a text box that uses the FreeType2 font
Imagefttext function: Writing text to an image using a FreeType2 font
Imagegammacorrect function: Gamma correction applied to GD images
IMAGEGD2 function: Output GD 2 image to browser or file
IMAGEGD function: Output GD image to browser or file
Imagegif function: Print an image to a browser or file in GIF format
Imageinterlace function: Activate or disable interlaced scanning
Imageistruecolor function: Check if the image is a true color image
imagejpeg function: Output an image to a browser or file in JPEG format
Imagelayereffect function: Sets the alpha process color flag to use the bound libgd layering effect
Imageline function: Draw a line segment
Imageloadfont function: Load a new font
imagepalettecopy function: Copy 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 that uses PostScript Type1 font
Imagepsencodefont function: Changing the character encoding vector in the font
Imagepsextendfont function: Expand or compact fonts
Imagepsfreefont function: Frees memory occupied by a PostScript Type1 font
Imagepsloadfont function: Load a PostScript Type1 font from a file
Imagepsslantfont function: Skew a font
Imagepstext function: Use PostScript Type1 font to draw text strings onto images
Imagerectangle function: Draw a rectangle
imagerotate function: Rotate an image with a given angle
Imagesavealpha function: Sets the tag to save the full alpha channel information when the PNG image is saved
Imagesetbrush function: Sets the brush image used for drawing lines
Imagesetpixel function: Draw a single pixel
Imagesetstyle function: Set the style of drawing lines
imagesetthickness function: Set the width of the drawing line
Imagesettile function: Set the texture for the fill
imagestring function: Horizontally draw a line of strings
Imagestringup function: To draw a line of string vertically
Imagesx function: Get image width
Imagesy function: Get image Height
Imagetruecolortopalette function: Converts a true color image to a palette image
Imagettfbbox function: Gets the range of text that uses TrueType fonts
Imagettftext function: Writing text to an image with a TrueType font
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 in a JPEG image
iptcparse function: Resolves a binary IPTC block to a single tag
jpeg2wbmp function: Converts a JPEG image file to a wbmp image file
Png2wbmp function: Convert PNG image file to wbmp image file

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.