Documentation

Imagick
in package

Image Imagick factory class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

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

license

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

version
4.0.0

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
Imagick

createIndex()

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
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|null $name = null ]) : Imagick
Parameters
$data : string
$name : string|null = null
Return values
Imagick

        
On this page

Search results