Imagick
in package
Image Imagick factory class
Tags
Table of Contents
Methods
- create() : Imagick
- Create an Imagick adapter object from an existing image
- createIndex() : Imagick
- Create a new indexed image resource and load it into a Imagick object
- getAvailableAdapters() : array<string|int, mixed>
- Get the available image adapters
- isAvailable() : bool
- Determine if the Imagick adapter is available
- load() : Imagick
- Load the image resource from the existing image file into a Imagick object
- loadFromString() : Imagick
- Load the image resource from data into a Imagick object
Methods
create()
Create an Imagick adapter object from an existing image
public
static create(int $width, int $height[, string|null $image = null ]) : Imagick
Parameters
- $width : int
- $height : int
- $image : string|null = null
Return values
ImagickcreateIndex()
Create a new indexed image resource and load it into a Imagick object
public
static createIndex(int $width, int $height[, string|null $image = null ]) : Imagick
Parameters
- $width : int
- $height : int
- $image : string|null = null
Return values
ImagickgetAvailableAdapters()
Get the available image adapters
public
static getAvailableAdapters() : array<string|int, mixed>
Return values
array<string|int, mixed>isAvailable()
Determine if the Imagick adapter is available
public
static isAvailable() : bool
Return values
boolload()
Load the image resource from the existing image file into a Imagick object
public
static load(string $image) : Imagick
Parameters
- $image : string
Return values
ImagickloadFromString()
Load the image resource from data into a Imagick object
public
static loadFromString(string $data[, string|null $name = null ]) : Imagick
Parameters
- $data : string
- $name : string|null = null