The Gmagick class

Introduction

Class synopsis

Gmagick
class Gmagick {
/* Methods */
public __construct(string $filename = ?)
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()
public Gmagick commentimage(string $comment)
public Gmagick compositeimage(
    Gmagick $source,
    int $COMPOSE,
    int $x,
    int $y
)
public Gmagick cropimage(
     int $width ,
     int $height ,
    int $x,
    int $y
)
public Gmagick cropthumbnailimage(int $width, int $height)
public Gmagick current()
public Gmagick cyclecolormapimage(int $displace)
public Gmagick deconstructimages()
public Gmagick despeckleimage()
public bool destroy()
public Gmagick drawimage(GmagickDraw $GmagickDraw)
public Gmagick edgeimage(float $radius)
public Gmagick embossimage(float $radius, float $sigma)
public Gmagick enhanceimage()
public Gmagick equalizeimage()
public Gmagick flipimage()
public Gmagick flopimage()
public Gmagick frameimage(
    GmagickPixel $color,
    int $width,
    int $height,
    int $inner_bevel,
    int $outer_bevel
)
public Gmagick gammaimage(float $gamma)
public string getcopyright()
public string getfilename()
public GmagickPixel getimagebackgroundcolor()
public array getimageblueprimary()
public GmagickPixel getimagebordercolor()
public int getimagechanneldepth(int $channel_type)
public int getimagecolors()
public int getimagecolorspace()
public int getimagecompose()
public int getimagedelay()
public int getimagedepth()
public int getimagedispose()
public array getimageextrema()
public string getimagefilename()
public string getimageformat()
public float getimagegamma()
public array getimagegreenprimary()
public int getimageheight()
public array getimagehistogram()
public int getimageindex()
public int getimageinterlacescheme()
public int getimageiterations()
public int getimagematte()
public GmagickPixel getimagemattecolor()
public string getimageprofile(string $name)
public array getimageredprimary()
public int getimagerenderingintent()
public array getimageresolution()
public int getimagescene()
public string getimagesignature()
public int getimagetype()
public int getimageunits()
public array getimagewhitepoint()
public int getimagewidth()
public string getpackagename()
public array getquantumdepth()
public string getreleasedate()
public array getsamplingfactors()
public array getsize()
public array getversion()
public mixed hasnextimage()
public mixed haspreviousimage()
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()
public Gmagick mapimage(gmagick $gmagick, bool $dither)
public void medianfilterimage(float $radius)
public Gmagick minifyimage()
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()
public Gmagick normalizeimage(int $channel = ?)
public Gmagick oilpaintimage( float $radius )
public bool previousimage()
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()
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()
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)
}
Table of Contents