\Pop\ImageGmagick

Image Gmagick factory class

This class has been deprecated as of 2/6/2020 and will no longer be maintained. Please use the Imagick classes instead.

Summary

Methods
Properties
Constants
getAvailableAdapters()
isAvailable()
load()
loadFromString()
create()
createIndex()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getAvailableAdapters()

getAvailableAdapters() : array

Get the available image adapters

Returns

array

isAvailable()

isAvailable() : boolean

Determine if the Gmagick adapter is available

Returns

boolean

load()

load(string  $image) : \Pop\Image\Adapter\Gmagick

Load the image resource from the existing image file into a Gmagick object

Parameters

string $image

Returns

\Pop\Image\Adapter\Gmagick

loadFromString()

loadFromString(string  $data, string  $name = null) : \Pop\Image\Adapter\Gmagick

Load the image resource from data into a Gmagick object

Parameters

string $data
string $name

Returns

\Pop\Image\Adapter\Gmagick

create()

create(integer  $width, integer  $height, string  $image = null) : \Pop\Image\Adapter\Gmagick

Create a new image resource and load it into a Gmagick object

Parameters

integer $width
integer $height
string $image

Returns

\Pop\Image\Adapter\Gmagick

createIndex()

createIndex(integer  $width, integer  $height, string  $image = null) : \Pop\Image\Adapter\Gmagick

Create a new indexed image resource and load it into a Gmagick object

Parameters

integer $width
integer $height
string $image

Returns

\Pop\Image\Adapter\Gmagick