Image

Extends Image

Class to manipulate an image.

since

1.7.3

package

Joomla CMS

Methods

__construct

Class constructor.

__construct(mixed source = null) : mixed
since

1.7.3

throws

\RuntimeException

Arguments

source

mixedEither a file path for a source image or a GD resource handler for an image.

Response

mixed

getFilterInstance

Method to get an image filter instance of a specified type.

getFilterInstance(string type) : \Joomla\CMS\Image\ImageFilter
since

1.7.3

throws

\RuntimeException

Arguments

type

stringThe image filter type to get.

Response

\Joomla\CMS\Image\ImageFilter