\Pop\Image\FilterImagick

Filter class for Imagick

Summary

Methods
Properties
Constants
__construct()
getImage()
setImage()
blur()
adaptiveBlur()
gaussianBlur()
motionBlur()
radialBlur()
sharpen()
negate()
paint()
posterize()
noise()
diffuse()
skew()
swirl()
wave()
pixelate()
pencil()
No public properties found
No constants found
No protected methods found
$image
N/A
No private methods found
No private properties found
N/A

Properties

$image

$image : mixed

Image object

Type

mixed

Methods

__construct()

__construct(\Pop\Image\Adapter\AbstractAdapter  $image = null) 

Constructor

Instantiate an image edit object

Parameters

\Pop\Image\Adapter\AbstractAdapter $image

blur()

blur(mixed  $radius, mixed  $sigma, integer  $channel = \Imagick::CHANNEL_ALL) : \Pop\Image\Filter\Imagick

Blur the image.

Parameters

mixed $radius
mixed $sigma
integer $channel

Returns

\Pop\Image\Filter\Imagick

adaptiveBlur()

adaptiveBlur(mixed  $radius, mixed  $sigma, integer  $channel = \Imagick::CHANNEL_DEFAULT) : \Pop\Image\Filter\Imagick

Blur the image.

Parameters

mixed $radius
mixed $sigma
integer $channel

Returns

\Pop\Image\Filter\Imagick

gaussianBlur()

gaussianBlur(mixed  $radius, mixed  $sigma, integer  $channel = \Imagick::CHANNEL_ALL) : \Pop\Image\Filter\Imagick

Blur the image.

Parameters

mixed $radius
mixed $sigma
integer $channel

Returns

\Pop\Image\Filter\Imagick

motionBlur()

motionBlur(mixed  $radius, mixed  $sigma, integer  $angle, integer  $channel = \Imagick::CHANNEL_DEFAULT) : \Pop\Image\Filter\Imagick

Blur the image.

Parameters

mixed $radius
mixed $sigma
integer $angle
integer $channel

Returns

\Pop\Image\Filter\Imagick

radialBlur()

radialBlur(integer  $angle, integer  $channel = \Imagick::CHANNEL_ALL) : \Pop\Image\Filter\Imagick

Blur the image.

Parameters

integer $angle
integer $channel

Returns

\Pop\Image\Filter\Imagick

sharpen()

sharpen(mixed  $radius, mixed  $sigma, integer  $channel = \Imagick::CHANNEL_ALL) : \Pop\Image\Filter\Imagick

Sharpen the image

Parameters

mixed $radius
mixed $sigma
integer $channel

Returns

\Pop\Image\Filter\Imagick

paint()

paint(integer  $radius) : \Pop\Image\Filter\Imagick

Apply an oil paint effect to the image using the pixel radius threshold

Parameters

integer $radius

Returns

\Pop\Image\Filter\Imagick

posterize()

posterize(integer  $levels, boolean  $dither = false) : \Pop\Image\Filter\Imagick

Apply a posterize effect to the image

Parameters

integer $levels
boolean $dither

Returns

\Pop\Image\Filter\Imagick

noise()

noise(integer  $type = \Imagick::NOISE_MULTIPLICATIVEGAUSSIAN, integer  $channel = \Imagick::CHANNEL_DEFAULT) : \Pop\Image\Filter\Imagick

Apply a noise effect to the image

Parameters

integer $type
integer $channel

Returns

\Pop\Image\Filter\Imagick

diffuse()

diffuse(integer  $radius) : \Pop\Image\Filter\Imagick

Apply a diffusion effect to the image

Parameters

integer $radius

Returns

\Pop\Image\Filter\Imagick

swirl()

swirl(integer  $degrees) : \Pop\Image\Filter\Imagick

Apply a swirl effect to the image

Parameters

integer $degrees

Returns

\Pop\Image\Filter\Imagick

wave()

wave(mixed  $amp, mixed  $length) : \Pop\Image\Filter\Imagick

Apply a wave effect to the image

Parameters

mixed $amp
mixed $length

Returns

\Pop\Image\Filter\Imagick

pixelate()

pixelate(integer  $w, integer  $h = null) : \Pop\Image\Filter\Imagick

Apply a mosaic pixelate effect to the image

Parameters

integer $w
integer $h

Returns

\Pop\Image\Filter\Imagick

pencil()

pencil(mixed  $radius, mixed  $sigma, mixed  $angle) : \Pop\Image\Filter\Imagick

Apply a pencil/sketch effect to the image

Parameters

mixed $radius
mixed $sigma
mixed $angle

Returns

\Pop\Image\Filter\Imagick