Sketchy

Extends \Joomla\Image\ImageFilter

Image Filter class to make an image appear "sketchy".

deprecated
since

1.0

deprecated

The joomla/image package is deprecated

Methods

__construct

Class constructor.

__construct(resource|\GdImage $handle) 
inherited
since

1.0

throws

\InvalidArgumentException

\RuntimeException

Arguments

$handle

resource|\GdImageThe image resource on which to apply the filter.

execute

Method to apply a filter to an image resource.

execute(array $options = array()) : void
inherited abstract
since

1.0

Arguments

$options

arrayAn array of options for the filter.

getLogger

Get the logger.

getLogger() : \Psr\Log\LoggerInterface
inherited
since

1.0

Response

\Psr\Log\LoggerInterface

isValidImage

isValidImage(mixed $handle) : boolean
inherited

Arguments

$handle

mixedA potential image handle

Response

boolean

setLogger

Sets a logger instance on the object

setLogger(\Psr\Log\LoggerInterface $logger) : \Joomla\Image\ImageFilter
inherited
since

1.0

Arguments

$logger

\Psr\Log\LoggerInterfaceA PSR-3 compliant logger.

Response

\Joomla\Image\ImageFilterThis object for message chaining.

Properties

handle

The image resource handle.

inherited
since

1.0

Type(s)

resource|\GdImage

logger

Logger object

inherited
since

1.0

Type(s)

\Psr\Log\LoggerInterface