GmagickTable of Contents
The Gmagick classIntroduction
Class synopsisGmagick
class Gmagick
{
/* Methods */
public Gmagick addimage
( Gmagick
$source
)
public Gmagick addnoiseimage
( int
$noise_type
)
public Gmagick annotateimage
( GmagickDraw
$GmagickDraw
, float $x
, float $y
, float $angle
, string $text
)
public Gmagick blurimage
( float
$radius
, float $sigma
[, int $channel
] )
public Gmagick borderimage
( GmagickPixel
$color
, int $width
, int $height
)
public Gmagick charcoalimage
( float
$radius
, float $sigma
)
public Gmagick chopimage
( int
$width
, int $height
, int $x
, int $y
)
public Gmagick clear
( void
)
public Gmagick commentimage
( string
$comment
)
public Gmagick compositeimage
( Gmagick
$source
, int $COMPOSE
, int $x
, int $y
)
public __construct
([ string
$filename
] )
public Gmagick cropimage
(
int
$width
,
int
$height
, int $x
, int $y
)
public Gmagick cropthumbnailimage
( int
$width
, int $height
)
public Gmagick current
( void
)
public Gmagick cyclecolormapimage
( int
$displace
)
public Gmagick deconstructimages
( void
)
public Gmagick despeckleimage
( void
)
public bool destroy
( void
)
public Gmagick drawimage
( GmagickDraw
$GmagickDraw
)
public Gmagick edgeimage
( float
$radius
)
public Gmagick embossimage
( float
$radius
, float $sigma
)
public Gmagick enhanceimage
( void
)
public Gmagick equalizeimage
( void
)
public Gmagick flipimage
( void
)
public Gmagick flopimage
( void
)
public Gmagick frameimage
( GmagickPixel
$color
, int $width
, int $height
, int $inner_bevel
, int $outer_bevel
)
public Gmagick gammaimage
( float
$gamma
)
public string getcopyright
( void
)
public string getfilename
( void
)
public GmagickPixel getimagebackgroundcolor
( void
)
public array getimageblueprimary
( void
)
public GmagickPixel getimagebordercolor
( void
)
public int getimagechanneldepth
( int
$channel_type
)
public int getimagecolors
( void
)
public int getimagecolorspace
( void
)
public int getimagecompose
( void
)
public int getimagedelay
( void
)
public int getimagedepth
( void
)
public int getimagedispose
( void
)
public array getimageextrema
( void
)
public string getimagefilename
( void
)
public string getimageformat
( void
)
public float getimagegamma
( void
)
public array getimagegreenprimary
( void
)
public int getimageheight
( void
)
public array getimagehistogram
( void
)
public int getimageindex
( void
)
public int getimageinterlacescheme
( void
)
public int getimageiterations
( void
)
public int getimagematte
( void
)
public GmagickPixel getimagemattecolor
( void
)
public string getimageprofile
( string
$name
)
public array getimageredprimary
( void
)
public int getimagerenderingintent
( void
)
public array getimageresolution
( void
)
public int getimagescene
( void
)
public string getimagesignature
( void
)
public int getimagetype
( void
)
public int getimageunits
( void
)
public array getimagewhitepoint
( void
)
public int getimagewidth
( void
)
public string getpackagename
( void
)
public array getquantumdepth
( void
)
public string getreleasedate
( void
)
public array getsamplingfactors
( void
)
public array getsize
( void
)
public array getversion
( void
)
public mixed hasnextimage
( void
)
public mixed haspreviousimage
( void
)
public mixed implodeimage
( float
$radius
)
public mixed labelimage
( string
$label
)
public mixed levelimage
( float
$blackPoint
, float $gamma
, float $whitePoint
[, int $channel = Gmagick::CHANNEL_DEFAULT
] )
public mixed magnifyimage
( void
)
public Gmagick mapimage
( gmagick
$gmagick
, bool $dither
)
public void medianfilterimage
( float
$radius
)
public Gmagick minifyimage
( void
)
public Gmagick modulateimage
( float
$brightness
, float $saturation
, float $hue
)
public Gmagick motionblurimage
( float
$radius
, float $sigma
, float $angle
)
public Gmagick newimage
( int
$width
, int $height
, string $background
[, string $format
] )
public bool nextimage
( void
)
public Gmagick normalizeimage
([ int
$channel
] )
public Gmagick oilpaintimage
(
float
$radius
)
public bool previousimage
( void
)
public Gmagick profileimage
( string
$name
, string $profile
)
public Gmagick quantizeimage
( int
$numColors
, int $colorspace
, int $treeDepth
, bool $dither
, bool $measureError
)
public Gmagick quantizeimages
( int
$numColors
, int $colorspace
, int $treeDepth
, bool $dither
, bool $measureError
)
public array queryfontmetrics
( GmagickDraw
$draw
, string $text
)
public array queryfonts
([ string
$pattern = "*"
] )
public array queryformats
([ string
$pattern = "*"
] )
public Gmagick radialblurimage
( float
$angle
[, int $channel = Gmagick::CHANNEL_DEFAULT
] )
public Gmagick raiseimage
( int
$width
, int $height
, int $x
, int $y
, bool $raise
)
public Gmagick read
( string
$filename
)
public Gmagick readimage
( string
$filename
)
public Gmagick readimageblob
( string
$imageContents
[, string $filename
] )
public Gmagick readimagefile
( resource
$fp
[, string $filename
] )
public Gmagick reducenoiseimage
( float
$radius
)
public Gmagick removeimage
( void
)
public string removeimageprofile
( string
$name
)
public Gmagick resampleimage
( float
$xResolution
, float $yResolution
, int $filter
, float $blur
)
public Gmagick resizeimage
( int
$width
, int $height
, int $filter
, float $blur
[, bool $fit = false
] )
public Gmagick rollimage
( int
$x
, int $y
)
public Gmagick rotateimage
( mixed
$color
, float $degrees
)
public Gmagick scaleimage
( int
$width
, int $height
[, bool $fit = false
] )
public Gmagick separateimagechannel
( int
$channel
)
Gmagick setCompressionQuality
(
int
$quality
= 75
)
public Gmagick setfilename
( string
$filename
)
public Gmagick setimagebackgroundcolor
( GmagickPixel
$color
)
public Gmagick setimageblueprimary
( float
$x
, float $y
)
public Gmagick setimagebordercolor
( GmagickPixel
$color
)
public Gmagick setimagechanneldepth
( int
$channel
, int $depth
)
public Gmagick setimagecolorspace
( int
$colorspace
)
public Gmagick setimagecompose
( int
$composite
)
public Gmagick setimagedelay
( int
$delay
)
public Gmagick setimagedepth
( int
$depth
)
public Gmagick setimagedispose
( int
$disposeType
)
public Gmagick setimagefilename
( string
$filename
)
public Gmagick setimageformat
( string
$imageFormat
)
public Gmagick setimagegamma
( float
$gamma
)
public Gmagick setimagegreenprimary
( float
$x
, float $y
)
public Gmagick setimageindex
( int
$index
)
public Gmagick setimageinterlacescheme
( int
$interlace
)
public Gmagick setimageiterations
( int
$iterations
)
public Gmagick setimageprofile
( string
$name
, string $profile
)
public Gmagick setimageredprimary
( float
$x
, float $y
)
public Gmagick setimagerenderingintent
( int
$rendering_intent
)
public Gmagick setimageresolution
( float
$xResolution
, float $yResolution
)
public Gmagick setimagescene
( int
$scene
)
public Gmagick setimagetype
( int
$imgType
)
public Gmagick setimageunits
( int
$resolution
)
public Gmagick setimagewhitepoint
( float
$x
, float $y
)
public Gmagick setsamplingfactors
( array
$factors
)
public Gmagick setsize
( int
$columns
, int $rows
)
public Gmagick shearimage
( mixed
$color
, float $xShear
, float $yShear
)
public Gmagick solarizeimage
( int
$threshold
)
public Gmagick spreadimage
( float
$radius
)
public Gmagick stripimage
( void
)
public Gmagick swirlimage
( float
$degrees
)
public Gmagick thumbnailimage
( int
$width
, int $height
[, bool $fit = false
] )
public Gmagick trimimage
( float
$fuzz
)
public Gmagick writeimage
( string
}$filename
[, bool $all_frames = false
] )The GmagickDraw classIntroduction
Class synopsisGmagickDraw
class GmagickDraw
{
/* Methods */
public GmagickDraw annotate
( float
$x
, float $y
, string $text
)
public GmagickDraw arc
( float
$sx
, float $sy
, float $ex
, float $ey
, float $sd
, float $ed
)
public GmagickDraw bezier
( array
$coordinate_array
)
public GmagickDraw ellipse
( float
$ox
, float $oy
, float $rx
, float $ry
, float $start
, float $end
)
public GmagickPixel getfillcolor
( void
)
public float getfillopacity
( void
)
public mixed getfont
( void
)
public float getfontsize
( void
)
public int getfontstyle
( void
)
public int getfontweight
( void
)
public GmagickPixel getstrokecolor
( void
)
public float getstrokeopacity
( void
)
public float getstrokewidth
( void
)
public int gettextdecoration
( void
)
public mixed gettextencoding
( void
)
public GmagickDraw line
( float
$sx
, float $sy
, float $ex
, float $ey
)
public GmagickDraw point
( float
$x
, float $y
)
public GmagickDraw polygon
( array
$coordinates
)
public GmagickDraw polyline
( array
$coordinate_array
)
public GmagickDraw rectangle
( float
$x1
, float $y1
, float $x2
, float $y2
)
public GmagickDraw rotate
( float
$degrees
)
public GmagickDraw roundrectangle
( float
$x1
, float $y1
, float $x2
, float $y2
, float $rx
, float $ry
)
public GmagickDraw scale
( float
$x
, float $y
)
public GmagickDraw setfillcolor
( mixed
$color
)
public GmagickDraw setfillopacity
( float
$fill_opacity
)
public GmagickDraw setfont
( string
$font
)
public GmagickDraw setfontsize
( float
$pointsize
)
public GmagickDraw setfontstyle
( int
$style
)
public GmagickDraw setfontweight
( int
$weight
)
public GmagickDraw setstrokecolor
( mixed
$color
)
public GmagickDraw setstrokeopacity
( float
$stroke_opacity
)
public GmagickDraw setstrokewidth
( float
$width
)
public GmagickDraw settextdecoration
( int
$decoration
)
public GmagickDraw settextencoding
( string
}$encoding
)The GmagickPixel classIntroduction
Class synopsisGmagickPixel
class GmagickPixel
{
/* Methods */
public __construct
([ string
$color
] )
public mixed getcolor
([ bool
$as_array = false
[, bool $normalize_array = false
]] )
public int getcolorcount
( void
)
public float getcolorvalue
( int
$color
)
public GmagickPixel setcolor
( string
$color
)
public GmagickPixel setcolorvalue
( int
}$color
, float $value
) |