Documentation

Imagick
in package

Image Imagick factory class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

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

license

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

version
3.4.0

Table of Contents

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 $image = null ]) : Imagick
Parameters
$width : int
$height : int
$image : string = null
Return values
Imagick

createIndex()

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

public static createIndex(int $width, int $height[, string $image = null ]) : Imagick
Parameters
$width : int
$height : int
$image : string = null
Return values
Imagick

getAvailableAdapters()

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
bool

load()

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

public static load(string $image) : Imagick
Parameters
$image : string
Return values
Imagick

loadFromString()

Load the image resource from data into a Imagick object

public static loadFromString(string $data[, string $name = null ]) : Imagick
Parameters
$data : string
$name : string = null
Return values
Imagick

Search results