Documentation

Imagick extends AbstractFilter
in package

Filter class for Imagick

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
4.0.0

Table of Contents

Properties

$image  : mixed
Image object

Methods

__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|null
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

Methods

adaptiveBlur()

Blur the image.

public adaptiveBlur([mixed $radius = 0 ][, mixed $sigma = 0 ][, int $channel = Imagick::CHANNEL_DEFAULT ]) : Imagick
Parameters
$radius : mixed = 0
$sigma : mixed = 0
$channel : int = Imagick::CHANNEL_DEFAULT
Return values
Imagick

blur()

Blur the image.

public blur([mixed $radius = 0 ][, mixed $sigma = 0 ][, int $channel = Imagick::CHANNEL_ALL ]) : Imagick
Parameters
$radius : mixed = 0
$sigma : mixed = 0
$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 = 0 ][, mixed $sigma = 0 ][, int $channel = Imagick::CHANNEL_ALL ]) : Imagick
Parameters
$radius : mixed = 0
$sigma : mixed = 0
$channel : int = Imagick::CHANNEL_ALL
Return values
Imagick

motionBlur()

Blur the image.

public motionBlur([mixed $radius = 0 ][, mixed $sigma = 0 ][, int $angle = 0 ][, int $channel = Imagick::CHANNEL_DEFAULT ]) : Imagick
Parameters
$radius : mixed = 0
$sigma : mixed = 0
$angle : int = 0
$channel : int = Imagick::CHANNEL_DEFAULT
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|null $h = null ]) : Imagick
Parameters
$w : int
$h : int|null = 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

sharpen()

Sharpen the image

public sharpen([mixed $radius = 0 ][, mixed $sigma = 0 ][, int $channel = Imagick::CHANNEL_ALL ]) : Imagick
Parameters
$radius : mixed = 0
$sigma : mixed = 0
$channel : int = Imagick::CHANNEL_ALL
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
Return values
Imagick

        
On this page

Search results