Imagick
extends AbstractFilter
in package
Filter class for Imagick
Tags
Table of Contents
- $image : mixed
- Image object
- __construct() : mixed
- Constructor
- adaptiveBlur() : Imagick
- Blur the image.
- blur() : Imagick
- Blur the image.
- diffuse() : Imagick
- Apply a diffusion effect to the image
- gaussianBlur() : Imagick
- Blur the image.
- getImage() : AbstractAdapter
- Get the image object
- hasImage() : bool
- Has the image object
- motionBlur() : Imagick
- Blur the image.
- negate() : Imagick
- Create a negative of the image
- noise() : Imagick
- Apply a noise effect to the image
- paint() : Imagick
- Apply an oil paint effect to the image using the pixel radius threshold
- pencil() : Imagick
- Apply a pencil/sketch effect to the image
- pixelate() : Imagick
- Apply a mosaic pixelate effect to the image
- posterize() : Imagick
- Apply a posterize effect to the image
- setImage() : AbstractEditObject
- Set the image object
- sharpen() : Imagick
- Sharpen the image
- skew() : Imagick
- Apply a skew effect to the image
- swirl() : Imagick
- Apply a swirl effect to the image
- wave() : Imagick
- Apply a wave effect to the image
Properties
$image
Image object
protected
mixed
$image
= null
Methods
__construct()
Constructor
public
__construct([AbstractAdapter $image = null ]) : mixed
Instantiate an image edit object
Parameters
- $image : AbstractAdapter = null
Return values
mixed —adaptiveBlur()
Blur the image.
public
adaptiveBlur(mixed $radius, mixed $sigma[, int $channel = Imagick::CHANNEL_DEFAULT ]) : Imagick
Parameters
- $radius : mixed
- $sigma : mixed
- $channel : int = Imagick::CHANNEL_DEFAULT
Return values
Imagick —blur()
Blur the image.
public
blur(mixed $radius, mixed $sigma[, int $channel = Imagick::CHANNEL_ALL ]) : Imagick
Parameters
- $radius : mixed
- $sigma : mixed
- $channel : int = Imagick::CHANNEL_ALL
Return values
Imagick —diffuse()
Apply a diffusion effect to the image
public
diffuse(int $radius) : Imagick
Parameters
- $radius : int
Return values
Imagick —gaussianBlur()
Blur the image.
public
gaussianBlur(mixed $radius, mixed $sigma[, int $channel = Imagick::CHANNEL_ALL ]) : Imagick
Parameters
- $radius : mixed
- $sigma : mixed
- $channel : int = Imagick::CHANNEL_ALL
Return values
Imagick —getImage()
Get the image object
public
getImage() : AbstractAdapter
Return values
AbstractAdapter —hasImage()
Has the image object
public
hasImage() : bool
Return values
bool —motionBlur()
Blur the image.
public
motionBlur(mixed $radius, mixed $sigma, int $angle[, int $channel = Imagick::CHANNEL_DEFAULT ]) : Imagick
Parameters
- $radius : mixed
- $sigma : mixed
- $angle : int
- $channel : int = Imagick::CHANNEL_DEFAULT
Return values
Imagick —negate()
Create a negative of the image
public
negate() : Imagick
Return values
Imagick —noise()
Apply a noise effect to the image
public
noise([int $type = Imagick::NOISE_MULTIPLICATIVEGAUSSIAN ][, int $channel = Imagick::CHANNEL_DEFAULT ]) : Imagick
Parameters
- $type : int = Imagick::NOISE_MULTIPLICATIVEGAUSSIAN
- $channel : int = Imagick::CHANNEL_DEFAULT
Return values
Imagick —paint()
Apply an oil paint effect to the image using the pixel radius threshold
public
paint(int $radius) : Imagick
Parameters
- $radius : int
Return values
Imagick —pencil()
Apply a pencil/sketch effect to the image
public
pencil(mixed $radius, mixed $sigma, mixed $angle) : Imagick
Parameters
- $radius : mixed
- $sigma : mixed
- $angle : mixed
Return values
Imagick —pixelate()
Apply a mosaic pixelate effect to the image
public
pixelate(int $w[, int $h = null ]) : Imagick
Parameters
- $w : int
- $h : int = null
Return values
Imagick —posterize()
Apply a posterize effect to the image
public
posterize(int $levels[, bool $dither = false ]) : Imagick
Parameters
- $levels : int
- $dither : bool = false
Return values
Imagick —setImage()
Set the image object
public
setImage(AbstractAdapter $image) : AbstractEditObject
Parameters
- $image : AbstractAdapter
Return values
AbstractEditObject —sharpen()
Sharpen the image
public
sharpen(mixed $radius, mixed $sigma[, int $channel = Imagick::CHANNEL_ALL ]) : Imagick
Parameters
- $radius : mixed
- $sigma : mixed
- $channel : int = Imagick::CHANNEL_ALL
Return values
Imagick —skew()
Apply a skew effect to the image
public
skew(int $x, int $y[, ColorInterface $color = null ]) : Imagick
Parameters
- $x : int
- $y : int
- $color : ColorInterface = null
Return values
Imagick —swirl()
Apply a swirl effect to the image
public
swirl(int $degrees) : Imagick
Parameters
- $degrees : int
Return values
Imagick —wave()
Apply a wave effect to the image
public
wave(mixed $amp, mixed $length) : Imagick
Parameters
- $amp : mixed
- $length : mixed