Downloads
Documentation
Get Involved
Help
Getting Started
Introduction
A simple tutorial
Language Reference
Basic syntax
Types
Variables
Constants
Expressions
Operators
Control Structures
Functions
Classes and Objects
Namespaces
Enumerations
Errors
Exceptions
Fibers
Generators
Attributes
References Explained
Predefined Variables
Predefined Exceptions
Predefined Interfaces and Classes
Predefined Attributes
Context options and parameters
Supported Protocols and Wrappers
Security
Introduction
General considerations
Installed as CGI binary
Installed as an Apache module
Session Security
Filesystem Security
Database Security
Error Reporting
User Submitted Data
Hiding PHP
Keeping Current
Features
HTTP authentication with PHP
Cookies
Sessions
Dealing with XForms
Handling file uploads
Using remote files
Connection handling
Persistent Database Connections
Command line usage
Garbage Collection
DTrace Dynamic Tracing
Function Reference
Affecting PHP's Behaviour
Audio Formats Manipulation
Authentication Services
Command Line Specific Extensions
Compression and Archive Extensions
Cryptography Extensions
Database Extensions
Date and Time Related Extensions
File System Related Extensions
Human Language and Character Encoding Support
Image Processing and Generation
Mail Related Extensions
Mathematical Extensions
Non-Text MIME Output
Process Control Extensions
Other Basic Extensions
Other Services
Search Engine Extensions
Server Specific Extensions
Session Extensions
Text Processing
Variable and Type Related Extensions
Web Services
Windows Only Extensions
XML Manipulation
GUI Extensions
Keyboard Shortcuts
?
This help
j
Next menu item
k
Previous menu item
g p
Previous man page
g n
Next man page
G
Scroll to bottom
g g
Scroll to top
g h
Goto homepage
g s
Goto search
(current page)
/
Focus search box
简介 »
« GmagickPixel::setcolorvalue
PHP 手册
函数参考
图像生成和处理
Change language:
English
Chinese (Simplified)
Other
图像处理(ImageMagick)
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
示例
Basic usage
Imagick
— The Imagick class
Imagick::adaptiveBlurImage
— Adds adaptive blur filter to image
Imagick::adaptiveResizeImage
— Adaptively resize image with data dependent triangulation
Imagick::adaptiveSharpenImage
— Adaptively sharpen the image
Imagick::adaptiveThresholdImage
— Selects a threshold for each pixel based on a range of intensity
Imagick::addImage
— Adds new image to Imagick object image list
Imagick::addNoiseImage
— Adds random noise to the image
Imagick::affineTransformImage
— Transforms an image
Imagick::animateImages
— Animates an image or images
Imagick::annotateImage
— Annotates an image with text
Imagick::appendImages
— Append a set of images
Imagick::autoLevelImage
— Adjusts the levels of a particular image channel
Imagick::averageImages
— Average a set of images
Imagick::blackThresholdImage
— Forces all pixels below the threshold into black
Imagick::blueShiftImage
— Mutes the colors of the image
Imagick::blurImage
— Adds blur filter to image
Imagick::borderImage
— Surrounds the image with a border
Imagick::brightnessContrastImage
— Change the brightness and/or contrast of an image
Imagick::charcoalImage
— Simulates a charcoal drawing
Imagick::chopImage
— Removes a region of an image and trims
Imagick::clampImage
— Restricts the color range from 0 to the quantum depth.
Imagick::clear
— Clears all resources associated to Imagick object
Imagick::clipImage
— Clips along the first path from the 8BIM profile
Imagick::clipImagePath
— Clips along the named paths from the 8BIM profile, if present
Imagick::clipPathImage
— Clips along the named paths from the 8BIM profile
Imagick::clone
— Makes an exact copy of the Imagick object
Imagick::clutImage
— Replaces colors in the image
Imagick::coalesceImages
— Composites a set of images
Imagick::colorFloodfillImage
— Changes the color value of any pixel that matches target
Imagick::colorizeImage
— Blends the fill color with the image
Imagick::colorMatrixImage
— Apply color transformation to an image
Imagick::combineImages
— Combines one or more images into a single image
Imagick::commentImage
— Adds a comment to your image
Imagick::compareImageChannels
— Returns the difference in one or more images
Imagick::compareImageLayers
— Returns the maximum bounding region between images
Imagick::compareImages
— Compares an image to a reconstructed image
Imagick::compositeImage
— 把一张图合并到一张图
Imagick::__construct
— The Imagick constructor
Imagick::contrastImage
— Change the contrast of the image
Imagick::contrastStretchImage
— Enhances the contrast of a color image
Imagick::convolveImage
— Applies a custom convolution kernel to the image
Imagick::count
— Get the number of images
Imagick::cropImage
— 截图图片的一块区域
Imagick::cropThumbnailImage
— 创建缩略图
Imagick::current
— Returns a reference to the current Imagick object
Imagick::cycleColormapImage
— Displaces an image's colormap
Imagick::decipherImage
— Deciphers an image
Imagick::deconstructImages
— Returns certain pixel differences between images
Imagick::deleteImageArtifact
— Delete image artifact
Imagick::deleteImageProperty
— Deletes an image property
Imagick::deskewImage
— Removes skew from the image
Imagick::despeckleImage
— Reduces the speckle noise in an image
Imagick::destroy
— Destroys the Imagick object
Imagick::displayImage
— Displays an image
Imagick::displayImages
— Displays an image or image sequence
Imagick::distortImage
— Distorts an image using various distortion methods
Imagick::drawImage
— 把 ImagickDraw 对象渲染到当前图片上
Imagick::edgeImage
— Enhance edges within the image
Imagick::embossImage
— Returns a grayscale image with a three-dimensional effect
Imagick::encipherImage
— Enciphers an image
Imagick::enhanceImage
— Improves the quality of a noisy image
Imagick::equalizeImage
— Equalizes the image histogram
Imagick::evaluateImage
— Applies an expression to an image
Imagick::exportImagePixels
— Exports raw image pixels
Imagick::extentImage
— Set image size
Imagick::filter
— Applies a custom convolution kernel to the image
Imagick::flattenImages
— Merges a sequence of images
Imagick::flipImage
— Creates a vertical mirror image
Imagick::floodFillPaintImage
— Changes the color value of any pixel that matches target
Imagick::flopImage
— Creates a horizontal mirror image
Imagick::forwardFourierTransformImage
— Implements the discrete Fourier transform (DFT)
Imagick::frameImage
— Adds a simulated three-dimensional border
Imagick::functionImage
— Applies a function on the image
Imagick::fxImage
— Evaluate expression for each pixel in the image
Imagick::gammaImage
— Gamma-corrects an image
Imagick::gaussianBlurImage
— Blurs an image
Imagick::getColorspace
— Gets the colorspace
Imagick::getCompression
— Gets the object compression type
Imagick::getCompressionQuality
— Gets the object compression quality
Imagick::getCopyright
— Returns the ImageMagick API copyright as a string
Imagick::getFilename
— The filename associated with an image sequence
Imagick::getFont
— Gets font
Imagick::getFormat
— Returns the format of the Imagick object
Imagick::getGravity
— Gets the gravity
Imagick::getHomeURL
— Returns the ImageMagick home URL
Imagick::getImage
— Returns a new Imagick object
Imagick::getImageAlphaChannel
— 检查图像是否有 alpha 通道
Imagick::getImageArtifact
— Get image artifact
Imagick::getImageAttribute
— Returns a named attribute
Imagick::getImageBackgroundColor
— Returns the image background color
Imagick::getImageBlob
— Returns the image sequence as a blob
Imagick::getImageBluePrimary
— Returns the chromaticy blue primary point
Imagick::getImageBorderColor
— Returns the image border color
Imagick::getImageChannelDepth
— Gets the depth for a particular image channel
Imagick::getImageChannelDistortion
— Compares image channels of an image to a reconstructed image
Imagick::getImageChannelDistortions
— Gets channel distortions
Imagick::getImageChannelExtrema
— Gets the extrema for one or more image channels
Imagick::getImageChannelKurtosis
— The getImageChannelKurtosis purpose
Imagick::getImageChannelMean
— Gets the mean and standard deviation
Imagick::getImageChannelRange
— Gets channel range
Imagick::getImageChannelStatistics
— Returns statistics for each channel in the image
Imagick::getImageClipMask
— Gets image clip mask
Imagick::getImageColormapColor
— Returns the color of the specified colormap index
Imagick::getImageColors
— Gets the number of unique colors in the image
Imagick::getImageColorspace
— Gets the image colorspace
Imagick::getImageCompose
— Returns the composite operator associated with the image
Imagick::getImageCompression
— Gets the current image's compression type
Imagick::getImageCompressionQuality
— Gets the current image's compression quality
Imagick::getImageDelay
— Gets the image delay
Imagick::getImageDepth
— Gets the image depth
Imagick::getImageDispose
— Gets the image disposal method
Imagick::getImageDistortion
— Compares an image to a reconstructed image
Imagick::getImageExtrema
— Gets the extrema for the image
Imagick::getImageFilename
— Returns the filename of a particular image in a sequence
Imagick::getImageFormat
— Returns the format of a particular image in a sequence
Imagick::getImageGamma
— Gets the image gamma
Imagick::getImageGeometry
— Gets the width and height as an associative array
Imagick::getImageGravity
— Gets the image gravity
Imagick::getImageGreenPrimary
— Returns the chromaticy green primary point
Imagick::getImageHeight
— Returns the image height
Imagick::getImageHistogram
— Gets the image histogram
Imagick::getImageIndex
— Gets the index of the current active image
Imagick::getImageInterlaceScheme
— Gets the image interlace scheme
Imagick::getImageInterpolateMethod
— Returns the interpolation method
Imagick::getImageIterations
— Gets the image iterations
Imagick::getImageLength
— Returns the image length in bytes
Imagick::getImageMatte
— Return if the image has a matte channel
Imagick::getImageMatteColor
— Returns the image matte color
Imagick::getImageMimeType
— Returns the image mime-type
Imagick::getImageOrientation
— Gets the image orientation
Imagick::getImagePage
— Returns the page geometry
Imagick::getImagePixelColor
— Returns the color of the specified pixel
Imagick::getImageProfile
— Returns the named image profile
Imagick::getImageProfiles
— Returns the image profiles
Imagick::getImageProperties
— Returns the image properties
Imagick::getImageProperty
— Returns the named image property
Imagick::getImageRedPrimary
— Returns the chromaticity red primary point
Imagick::getImageRegion
— Extracts a region of the image
Imagick::getImageRenderingIntent
— Gets the image rendering intent
Imagick::getImageResolution
— 获取图像的x,y轴分辨率
Imagick::getImagesBlob
— Returns all image sequences as a blob
Imagick::getImageScene
— Gets the image scene
Imagick::getImageSignature
— Generates an SHA-256 message digest
Imagick::getImageSize
— Returns the image length in bytes
Imagick::getImageTicksPerSecond
— Gets the image ticks-per-second
Imagick::getImageTotalInkDensity
— Gets the image total ink density
Imagick::getImageType
— Gets the potential image type
Imagick::getImageUnits
— 获取图像的分辨率单位
Imagick::getImageVirtualPixelMethod
— Returns the virtual pixel method
Imagick::getImageWhitePoint
— Returns the chromaticity white point
Imagick::getImageWidth
— Returns the image width
Imagick::getInterlaceScheme
— Gets the object interlace scheme
Imagick::getIteratorIndex
— Gets the index of the current active image
Imagick::getNumberImages
— Returns the number of images in the object
Imagick::getOption
— Returns a value associated with the specified key
Imagick::getPackageName
— Returns the ImageMagick package name
Imagick::getPage
— Returns the page geometry
Imagick::getPixelIterator
— Returns a MagickPixelIterator
Imagick::getPixelRegionIterator
— Get an ImagickPixelIterator for an image section
Imagick::getPointSize
— Gets point size
Imagick::getQuantum
— Returns the ImageMagick quantum range
Imagick::getQuantumDepth
— Gets the quantum depth
Imagick::getQuantumRange
— Returns the Imagick quantum range
Imagick::getRegistry
— Get a StringRegistry entry
Imagick::getReleaseDate
— Returns the ImageMagick release date
Imagick::getResource
— Returns the specified resource's memory usage
Imagick::getResourceLimit
— Returns the specified resource limit
Imagick::getSamplingFactors
— Gets the horizontal and vertical sampling factor
Imagick::getSize
— Returns the size associated with the Imagick object
Imagick::getSizeOffset
— Returns the size offset
Imagick::getVersion
— Returns the ImageMagick API version
Imagick::haldClutImage
— Replaces colors in the image
Imagick::hasNextImage
— Checks if the object has more images
Imagick::hasPreviousImage
— Checks if the object has a previous image
Imagick::identifyFormat
— Formats a string with image details
Imagick::identifyImage
— Identifies an image and fetches attributes
Imagick::implodeImage
— Creates a new image as a copy
Imagick::importImagePixels
— Imports image pixels
Imagick::inverseFourierTransformImage
— Implements the inverse discrete Fourier transform (DFT)
Imagick::labelImage
— Adds a label to an image
Imagick::levelImage
— Adjusts the levels of an image
Imagick::linearStretchImage
— Stretches with saturation the image intensity
Imagick::liquidRescaleImage
— Animates an image or images
Imagick::listRegistry
— List all the registry settings
Imagick::magnifyImage
— Scales an image proportionally 2x
Imagick::mapImage
— Replaces the colors of an image with the closest color from a reference image
Imagick::matteFloodfillImage
— Changes the transparency value of a color
Imagick::medianFilterImage
— Applies a digital filter
Imagick::mergeImageLayers
— Merges image layers
Imagick::minifyImage
— Scales an image proportionally to half its size
Imagick::modulateImage
— Control the brightness, saturation, and hue
Imagick::montageImage
— Creates a composite image
Imagick::morphImages
— Method morphs a set of images
Imagick::morphology
— Applies a user supplied kernel to the image according to the given morphology method.
Imagick::mosaicImages
— Forms a mosaic from images
Imagick::motionBlurImage
— Simulates motion blur
Imagick::negateImage
— Negates the colors in the reference image
Imagick::newImage
— 创建一张图片
Imagick::newPseudoImage
— Creates a new image
Imagick::nextImage
— Moves to the next image
Imagick::normalizeImage
— Enhances the contrast of a color image
Imagick::oilPaintImage
— Simulates an oil painting
Imagick::opaquePaintImage
— Changes the color value of any pixel that matches target
Imagick::optimizeImageLayers
— Removes repeated portions of images to optimize
Imagick::orderedPosterizeImage
— Performs an ordered dither
Imagick::paintFloodfillImage
— Changes the color value of any pixel that matches target
Imagick::paintOpaqueImage
— Change any pixel that matches color
Imagick::paintTransparentImage
— Changes any pixel that matches color with the color defined by fill
Imagick::pingImage
— Fetch basic attributes about the image
Imagick::pingImageBlob
— Quickly fetch attributes
Imagick::pingImageFile
— Get basic image attributes in a lightweight manner
Imagick::polaroidImage
— Simulates a Polaroid picture
Imagick::posterizeImage
— Reduces the image to a limited number of color level
Imagick::previewImages
— Quickly pin-point appropriate parameters for image processing
Imagick::previousImage
— Move to the previous image in the object
Imagick::profileImage
— Adds or removes a profile from an image
Imagick::quantizeImage
— Analyzes the colors within a reference image
Imagick::quantizeImages
— Analyzes the colors within a sequence of images
Imagick::queryFontMetrics
— Returns an array representing the font metrics
Imagick::queryFonts
— Returns the configured fonts
Imagick::queryFormats
— Returns formats supported by Imagick
Imagick::radialBlurImage
— Radial blurs an image
Imagick::raiseImage
— Creates a simulated 3d button-like effect
Imagick::randomThresholdImage
— Creates a high-contrast, two-color image
Imagick::readImage
— Reads image from filename
Imagick::readImageBlob
— 从二进制字符串里读取图片
Imagick::readImageFile
— Reads image from open filehandle
Imagick::readimages
— Reads image from an array of filenames
Imagick::recolorImage
— Recolors image
Imagick::reduceNoiseImage
— Smooths the contours of an image
Imagick::remapImage
— Remaps image colors
Imagick::removeImage
— Removes an image from the image list
Imagick::removeImageProfile
— Removes the named image profile and returns it
Imagick::render
— Renders all preceding drawing commands
Imagick::resampleImage
— Resample image to desired resolution
Imagick::resetImagePage
— Reset image page
Imagick::resizeImage
— Scales an image
Imagick::rollImage
— Offsets an image
Imagick::rotateImage
— Rotates an image
Imagick::rotationalBlurImage
— Rotational blurs an image
Imagick::roundCorners
— Rounds image corners
Imagick::sampleImage
— Scales an image with pixel sampling
Imagick::scaleImage
— Scales the size of an image
Imagick::segmentImage
— Segments an image
Imagick::selectiveBlurImage
— Selectively blur an image within a contrast threshold
Imagick::separateImageChannel
— Separates a channel from the image
Imagick::sepiaToneImage
— Sepia tones an image
Imagick::setBackgroundColor
— Sets the object's default background color
Imagick::setColorspace
— Set colorspace
Imagick::setCompression
— Sets the object's default compression type
Imagick::setCompressionQuality
— Sets the object's default compression quality
Imagick::setFilename
— Sets the filename before you read or write the image
Imagick::setFirstIterator
— Sets the Imagick iterator to the first image
Imagick::setFont
— Sets font
Imagick::setFormat
— Sets the format of the Imagick object
Imagick::setGravity
— Sets the gravity
Imagick::setImage
— Replaces image in the object
Imagick::setImageAlphaChannel
— Sets image alpha channel
Imagick::setImageArtifact
— Set image artifact
Imagick::setImageAttribute
— Sets an image attribute
Imagick::setImageBackgroundColor
— Sets the image background color
Imagick::setImageBias
— Sets the image bias for any method that convolves an image
Imagick::setImageBiasQuantum
— Sets the image bias
Imagick::setImageBluePrimary
— Sets the image chromaticity blue primary point
Imagick::setImageBorderColor
— Sets the image border color
Imagick::setImageChannelDepth
— Sets the depth of a particular image channel
Imagick::setImageClipMask
— Sets image clip mask
Imagick::setImageColormapColor
— Sets the color of the specified colormap index
Imagick::setImageColorspace
— Sets the image colorspace
Imagick::setImageCompose
— Sets the image composite operator
Imagick::setImageCompression
— 设置图片压缩的类型
Imagick::setImageCompressionQuality
— 设置图片压缩的质量
Imagick::setImageDelay
— Sets the image delay
Imagick::setImageDepth
— Sets the image depth
Imagick::setImageDispose
— Sets the image disposal method
Imagick::setImageExtent
— Sets the image size
Imagick::setImageFilename
— Sets the filename of a particular image
Imagick::setImageFormat
— 为图片设置指定的格式
Imagick::setImageGamma
— Sets the image gamma
Imagick::setImageGravity
— Sets the image gravity
Imagick::setImageGreenPrimary
— Sets the image chromaticity green primary point
Imagick::setImageIndex
— Set the iterator position
Imagick::setImageInterlaceScheme
— Sets the image compression
Imagick::setImageInterpolateMethod
— Sets the image interpolate pixel method
Imagick::setImageIterations
— Sets the image iterations
Imagick::setImageMatte
— Sets the image matte channel
Imagick::setImageMatteColor
— Sets the image matte color
Imagick::setImageOpacity
— Sets the image opacity level
Imagick::setImageOrientation
— Sets the image orientation
Imagick::setImagePage
— Sets the page geometry of the image
Imagick::setImageProfile
— Adds a named profile to the Imagick object
Imagick::setImageProperty
— Sets an image property
Imagick::setImageRedPrimary
— Sets the image chromaticity red primary point
Imagick::setImageRenderingIntent
— Sets the image rendering intent
Imagick::setImageResolution
— Sets the image resolution
Imagick::setImageScene
— Sets the image scene
Imagick::setImageTicksPerSecond
— Sets the image ticks-per-second
Imagick::setImageType
— Sets the image type
Imagick::setImageUnits
— Sets the image units of resolution
Imagick::setImageVirtualPixelMethod
— Sets the image virtual pixel method
Imagick::setImageWhitePoint
— Sets the image chromaticity white point
Imagick::setInterlaceScheme
— Sets the image compression
Imagick::setIteratorIndex
— Set the iterator position
Imagick::setLastIterator
— Sets the Imagick iterator to the last image
Imagick::setOption
— Set an option
Imagick::setPage
— Sets the page geometry of the Imagick object
Imagick::setPointSize
— Sets point size
Imagick::setProgressMonitor
— Set a callback to be called during processing
Imagick::setRegistry
— Sets the ImageMagick registry entry named key to value
Imagick::setResolution
— Sets the image resolution
Imagick::setResourceLimit
— Sets the limit for a particular resource
Imagick::setSamplingFactors
— Sets the image sampling factors
Imagick::setSize
— Sets the size of the Imagick object
Imagick::setSizeOffset
— Sets the size and offset of the Imagick object
Imagick::setType
— Sets the image type attribute
Imagick::shadeImage
— Creates a 3D effect
Imagick::shadowImage
— Simulates an image shadow
Imagick::sharpenImage
— Sharpens an image
Imagick::shaveImage
— Shaves pixels from the image edges
Imagick::shearImage
— Creating a parallelogram
Imagick::sigmoidalContrastImage
— Adjusts the contrast of an image
Imagick::sketchImage
— Simulates a pencil sketch
Imagick::smushImages
— Takes all images from the current image pointer to the end of the image list and smushs them
Imagick::solarizeImage
— Applies a solarizing effect to the image
Imagick::sparseColorImage
— Interpolates colors
Imagick::spliceImage
— Splices a solid color into the image
Imagick::spreadImage
— Randomly displaces each pixel in a block
Imagick::statisticImage
— Modifies image using a statistics function
Imagick::steganoImage
— Hides a digital watermark within the image
Imagick::stereoImage
— Composites two images
Imagick::stripImage
— 去掉图片的所有配置和设置
Imagick::subImageMatch
— Searches for a subimage in the current image and returns a similarity image
Imagick::swirlImage
— Swirls the pixels about the center of the image
Imagick::textureImage
— Repeatedly tiles the texture image
Imagick::thresholdImage
— Changes the value of individual pixels based on a threshold
Imagick::thumbnailImage
— Changes the size of an image
Imagick::tintImage
— Applies a color vector to each pixel in the image
Imagick::__toString
— Returns the image as a string
Imagick::transformImage
— Convenience method for setting crop size and the image geometry
Imagick::transformImageColorspace
— Transforms an image to a new colorspace
Imagick::transparentPaintImage
— Paints pixels transparent
Imagick::transposeImage
— Creates a vertical mirror image
Imagick::transverseImage
— Creates a horizontal mirror image
Imagick::trimImage
— Remove edges from the image
Imagick::uniqueImageColors
— Discards all but one of any pixel color
Imagick::unsharpMaskImage
— Sharpens an image
Imagick::valid
— Checks if the current item is valid
Imagick::vignetteImage
— Adds vignette filter to the image
Imagick::waveImage
— Applies wave filter to the image
Imagick::whiteThresholdImage
— Force all pixels above the threshold into white
Imagick::writeImage
— 把图片写入指定的文件
Imagick::writeImageFile
— Writes an image to a filehandle
Imagick::writeImages
— Writes an image or image sequence
Imagick::writeImagesFile
— Writes frames to a filehandle
ImagickDraw
— The ImagickDraw class
ImagickDraw::affine
— Adjusts the current affine transformation matrix
ImagickDraw::annotation
— Draws text on the image
ImagickDraw::arc
— Draws an arc
ImagickDraw::bezier
— Draws a bezier curve
ImagickDraw::circle
— Draws a circle
ImagickDraw::clear
— Clears the ImagickDraw
ImagickDraw::clone
— Makes an exact copy of the specified ImagickDraw object
ImagickDraw::color
— Draws color on image
ImagickDraw::comment
— Adds a comment
ImagickDraw::composite
— Composites an image onto the current image
ImagickDraw::__construct
— The ImagickDraw constructor
ImagickDraw::destroy
— Frees all associated resources
ImagickDraw::ellipse
— Draws an ellipse on the image
ImagickDraw::getClipPath
— Obtains the current clipping path ID
ImagickDraw::getClipRule
— Returns the current polygon fill rule
ImagickDraw::getClipUnits
— Returns the interpretation of clip path units
ImagickDraw::getFillColor
— Returns the fill color
ImagickDraw::getFillOpacity
— Returns the opacity used when drawing
ImagickDraw::getFillRule
— Returns the fill rule
ImagickDraw::getFont
— Returns the font
ImagickDraw::getFontFamily
— Returns the font family
ImagickDraw::getFontSize
— Returns the font pointsize
ImagickDraw::getFontStretch
— Gets the font stretch to use when annotating with text
ImagickDraw::getFontStyle
— Returns the font style
ImagickDraw::getFontWeight
— Returns the font weight
ImagickDraw::getGravity
— Returns the text placement gravity
ImagickDraw::getStrokeAntialias
— Returns the current stroke antialias setting
ImagickDraw::getStrokeColor
— Returns the color used for stroking object outlines
ImagickDraw::getStrokeDashArray
— Returns an array representing the pattern of dashes and gaps used to stroke paths
ImagickDraw::getStrokeDashOffset
— Returns the offset into the dash pattern to start the dash
ImagickDraw::getStrokeLineCap
— Returns the shape to be used at the end of open subpaths when they are stroked
ImagickDraw::getStrokeLineJoin
— Returns the shape to be used at the corners of paths when they are stroked
ImagickDraw::getStrokeMiterLimit
— Returns the stroke miter limit
ImagickDraw::getStrokeOpacity
— Returns the opacity of stroked object outlines
ImagickDraw::getStrokeWidth
— Returns the width of the stroke used to draw object outlines
ImagickDraw::getTextAlignment
— Returns the text alignment
ImagickDraw::getTextAntialias
— Returns the current text antialias setting
ImagickDraw::getTextDecoration
— Returns the text decoration
ImagickDraw::getTextEncoding
— Returns the code set used for text annotations
ImagickDraw::getTextInterlineSpacing
— Gets the text interword spacing
ImagickDraw::getTextInterwordSpacing
— Gets the text interword spacing
ImagickDraw::getTextKerning
— Gets the text kerning
ImagickDraw::getTextUnderColor
— Returns the text under color
ImagickDraw::getVectorGraphics
— Returns a string containing vector graphics
ImagickDraw::line
— Draws a line
ImagickDraw::matte
— Paints on the image's opacity channel
ImagickDraw::pathClose
— Adds a path element to the current path
ImagickDraw::pathCurveToAbsolute
— Draws a cubic Bezier curve
ImagickDraw::pathCurveToQuadraticBezierAbsolute
— Draws a quadratic Bezier curve
ImagickDraw::pathCurveToQuadraticBezierRelative
— Draws a quadratic Bezier curve
ImagickDraw::pathCurveToQuadraticBezierSmoothAbsolute
— Draws a quadratic Bezier curve
ImagickDraw::pathCurveToQuadraticBezierSmoothRelative
— Draws a quadratic Bezier curve
ImagickDraw::pathCurveToRelative
— Draws a cubic Bezier curve
ImagickDraw::pathCurveToSmoothAbsolute
— Draws a cubic Bezier curve
ImagickDraw::pathCurveToSmoothRelative
— Draws a cubic Bezier curve
ImagickDraw::pathEllipticArcAbsolute
— Draws an elliptical arc
ImagickDraw::pathEllipticArcRelative
— Draws an elliptical arc
ImagickDraw::pathFinish
— Terminates the current path
ImagickDraw::pathLineToAbsolute
— Draws a line path
ImagickDraw::pathLineToHorizontalAbsolute
— Draws a horizontal line path
ImagickDraw::pathLineToHorizontalRelative
— Draws a horizontal line
ImagickDraw::pathLineToRelative
— Draws a line path
ImagickDraw::pathLineToVerticalAbsolute
— Draws a vertical line
ImagickDraw::pathLineToVerticalRelative
— Draws a vertical line path
ImagickDraw::pathMoveToAbsolute
— Starts a new sub-path
ImagickDraw::pathMoveToRelative
— Starts a new sub-path
ImagickDraw::pathStart
— Declares the start of a path drawing list
ImagickDraw::point
— Draws a point
ImagickDraw::polygon
— Draws a polygon
ImagickDraw::polyline
— Draws a polyline
ImagickDraw::pop
— Destroys the current ImagickDraw in the stack, and returns to the previously pushed ImagickDraw
ImagickDraw::popClipPath
— Terminates a clip path definition
ImagickDraw::popDefs
— Terminates a definition list
ImagickDraw::popPattern
— Terminates a pattern definition
ImagickDraw::push
— Clones the current ImagickDraw and pushes it to the stack
ImagickDraw::pushClipPath
— Starts a clip path definition
ImagickDraw::pushDefs
— Indicates that following commands create named elements for early processing
ImagickDraw::pushPattern
— Indicates that subsequent commands up to a ImagickDraw::opPattern() command comprise the definition of a named pattern
ImagickDraw::rectangle
— Draws a rectangle
ImagickDraw::render
— Renders all preceding drawing commands onto the image
ImagickDraw::resetVectorGraphics
— Resets the vector graphics
ImagickDraw::rotate
— Applies the specified rotation to the current coordinate space
ImagickDraw::roundRectangle
— Draws a rounded rectangle
ImagickDraw::scale
— Adjusts the scaling factor
ImagickDraw::setClipPath
— Associates a named clipping path with the image
ImagickDraw::setClipRule
— Set the polygon fill rule to be used by the clipping path
ImagickDraw::setClipUnits
— Sets the interpretation of clip path units
ImagickDraw::setFillAlpha
— Sets the opacity to use when drawing using the fill color or fill texture
ImagickDraw::setFillColor
— Sets the fill color to be used for drawing filled objects
ImagickDraw::setFillOpacity
— Sets the opacity to use when drawing using the fill color or fill texture
ImagickDraw::setFillPatternURL
— Sets the URL to use as a fill pattern for filling objects
ImagickDraw::setFillRule
— Sets the fill rule to use while drawing polygons
ImagickDraw::setFont
— Sets the fully-specified font to use when annotating with text
ImagickDraw::setFontFamily
— Sets the font family to use when annotating with text
ImagickDraw::setFontSize
— Sets the font pointsize to use when annotating with text
ImagickDraw::setFontStretch
— Sets the font stretch to use when annotating with text
ImagickDraw::setFontStyle
— Sets the font style to use when annotating with text
ImagickDraw::setFontWeight
— Sets the font weight
ImagickDraw::setGravity
— Sets the text placement gravity
ImagickDraw::setResolution
— Sets the resolution
ImagickDraw::setStrokeAlpha
— Specifies the opacity of stroked object outlines
ImagickDraw::setStrokeAntialias
— Controls whether stroked outlines are antialiased
ImagickDraw::setStrokeColor
— Sets the color used for stroking object outlines
ImagickDraw::setStrokeDashArray
— Specifies the pattern of dashes and gaps used to stroke paths
ImagickDraw::setStrokeDashOffset
— Specifies the offset into the dash pattern to start the dash
ImagickDraw::setStrokeLineCap
— Specifies the shape to be used at the end of open subpaths when they are stroked
ImagickDraw::setStrokeLineJoin
— Specifies the shape to be used at the corners of paths when they are stroked
ImagickDraw::setStrokeMiterLimit
— Specifies the miter limit
ImagickDraw::setStrokeOpacity
— Specifies the opacity of stroked object outlines
ImagickDraw::setStrokePatternURL
— Sets the pattern used for stroking object outlines
ImagickDraw::setStrokeWidth
— Sets the width of the stroke used to draw object outlines
ImagickDraw::setTextAlignment
— Specifies a text alignment
ImagickDraw::setTextAntialias
— Controls whether text is antialiased
ImagickDraw::setTextDecoration
— Specifies a decoration
ImagickDraw::setTextEncoding
— Specifies the text code set
ImagickDraw::setTextInterlineSpacing
— Sets the text interline spacing
ImagickDraw::setTextInterwordSpacing
— Sets the text interword spacing
ImagickDraw::setTextKerning
— Sets the text kerning
ImagickDraw::setTextUnderColor
— Specifies the color of a background rectangle
ImagickDraw::setVectorGraphics
— Sets the vector graphics
ImagickDraw::setViewbox
— Sets the overall canvas size
ImagickDraw::skewX
— Skews the current coordinate system in the horizontal direction
ImagickDraw::skewY
— Skews the current coordinate system in the vertical direction
ImagickDraw::translate
— Applies a translation to the current coordinate system
ImagickPixel
— The ImagickPixel class
ImagickPixel::clear
— Clears resources associated with this object
ImagickPixel::__construct
— The ImagickPixel constructor
ImagickPixel::destroy
— Deallocates resources associated with this object
ImagickPixel::getColor
— Returns the color
ImagickPixel::getColorAsString
— Returns the color as a string
ImagickPixel::getColorCount
— Returns the color count associated with this color
ImagickPixel::getColorQuantum
— Returns the color of the pixel in an array as Quantum values
ImagickPixel::getColorValue
— Gets the normalized value of the provided color channel
ImagickPixel::getColorValueQuantum
— Gets the quantum value of a color in the ImagickPixel
ImagickPixel::getHSL
— Returns the normalized HSL color of the ImagickPixel object
ImagickPixel::getIndex
— Gets the colormap index of the pixel wand
ImagickPixel::isPixelSimilar
— Check the distance between this color and another
ImagickPixel::isPixelSimilarQuantum
— Returns whether two colors differ by less than the specified distance
ImagickPixel::isSimilar
— Check the distance between this color and another
ImagickPixel::setColor
— Sets the color
ImagickPixel::setColorCount
— Sets the color count associated with this color
ImagickPixel::setColorValue
— Sets the normalized value of one of the channels
ImagickPixel::setColorValueQuantum
— Sets the quantum value of a color element of the ImagickPixel
ImagickPixel::setHSL
— Sets the normalized HSL color
ImagickPixel::setIndex
— Sets the colormap index of the pixel wand
ImagickPixelIterator
— The ImagickPixelIterator class
ImagickPixelIterator::clear
— Clear resources associated with a PixelIterator
ImagickPixelIterator::__construct
— The ImagickPixelIterator constructor
ImagickPixelIterator::destroy
— Deallocates resources associated with a PixelIterator
ImagickPixelIterator::getCurrentIteratorRow
— Returns the current row of ImagickPixel objects
ImagickPixelIterator::getIteratorRow
— Returns the current pixel iterator row
ImagickPixelIterator::getNextIteratorRow
— Returns the next row of the pixel iterator
ImagickPixelIterator::getPreviousIteratorRow
— Returns the previous row
ImagickPixelIterator::newPixelIterator
— Returns a new pixel iterator
ImagickPixelIterator::newPixelRegionIterator
— Returns a new pixel iterator
ImagickPixelIterator::resetIterator
— Resets the pixel iterator
ImagickPixelIterator::setIteratorFirstRow
— Sets the pixel iterator to the first pixel row
ImagickPixelIterator::setIteratorLastRow
— Sets the pixel iterator to the last pixel row
ImagickPixelIterator::setIteratorRow
— Set the pixel iterator row
ImagickPixelIterator::syncIterator
— Syncs the pixel iterator
ImagickKernel
— The ImagickKernel class
ImagickKernel::addKernel
— Attach another kernel to a kernel list
ImagickKernel::addUnityKernel
— Adds a Unity Kernel to the kernel list
ImagickKernel::fromBuiltIn
— Create a kernel from a builtin in kernel
ImagickKernel::fromMatrix
— Create a kernel from a 2d matrix of values
ImagickKernel::getMatrix
— Get the 2d matrix of values used in this kernel
ImagickKernel::scale
— Scales a kernel list by the given amount
ImagickKernel::separate
— Separates a linked set of kernels and returns an array of ImagickKernels
Improve This Page
Learn How To Improve This Page
•
Submit a Pull Request
•
Report a Bug
+
add a note
User Contributed Notes
There are no user contributed notes for this page.