\Pop\Image\FilterGmagick

Filter class for Gmagick

Summary

Methods
Properties
Constants
__construct()
getImage()
setImage()
blur()
motionBlur()
radialBlur()
sharpen()
negate()
paint()
noise()
diffuse()
skew()
solarize()
swirl()
pixelate()
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 = \Gmagick::CHANNEL_ALL) : \Pop\Image\Filter\Gmagick

Blur the image.

Parameters

mixed $radius
mixed $sigma
integer $channel

Returns

\Pop\Image\Filter\Gmagick

motionBlur()

motionBlur(mixed  $radius, mixed  $sigma, integer  $angle) : \Pop\Image\Filter\Gmagick

Blur the image.

Parameters

mixed $radius
mixed $sigma
integer $angle

Returns

\Pop\Image\Filter\Gmagick

radialBlur()

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

Blur the image.

Parameters

integer $angle
integer $channel

Returns

\Pop\Image\Filter\Gmagick

sharpen()

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

Sharpen the image

Parameters

mixed $radius
mixed $sigma
integer $channel

Returns

\Pop\Image\Filter\Gmagick

paint()

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

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

Parameters

integer $radius

Returns

\Pop\Image\Filter\Gmagick

noise()

noise(integer  $type = \Gmagick::NOISE_MULTIPLICATIVEGAUSSIAN) : \Pop\Image\Filter\Gmagick

Apply a noise effect to the image

Parameters

integer $type

Returns

\Pop\Image\Filter\Gmagick

diffuse()

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

Apply a diffusion effect to the image

Parameters

integer $radius

Returns

\Pop\Image\Filter\Gmagick

solarize()

solarize(integer  $threshold) : \Pop\Image\Filter\Gmagick

Apply a skew effect to the image

Parameters

integer $threshold

Returns

\Pop\Image\Filter\Gmagick

swirl()

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

Apply a swirl effect to the image

Parameters

integer $degrees

Returns

\Pop\Image\Filter\Gmagick

pixelate()

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

Apply a mosaic pixelate effect to the image

Parameters

integer $w
integer $h

Returns

\Pop\Image\Filter\Gmagick