Documentation

GDImageAdapter extends ImageAdapter
in package

Base adapter implementation to handle image manipulation.

Table of Contents

$resource  : mixed
The image resource handler.
destroy()  : mixed
Destroys the image.
getHeight()  : mixed
{@inheritdoc}
getPixelColor()  : mixed
{@inheritdoc}
getResource()  : resource
Get the raw resource.
getWidth()  : mixed
{@inheritdoc}
load()  : mixed
Loads an image resource.
loadBinaryString()  : mixed
{@inheritdoc}
loadFile()  : mixed
{@inheritdoc}

Properties

$resource

The image resource handler.

protected mixed $resource

Methods

destroy()

Destroys the image.

public destroy() : mixed
Return values
mixed

getHeight()

{@inheritdoc}

public getHeight() : mixed
Return values
mixed

getPixelColor()

{@inheritdoc}

public getPixelColor(mixed $x, mixed $y) : mixed
Parameters
$x : mixed
$y : mixed
Return values
mixed

getResource()

Get the raw resource.

public getResource() : resource
Return values
resource

getWidth()

{@inheritdoc}

public getWidth() : mixed
Return values
mixed

load()

Loads an image resource.

public load(mixed $resource) : mixed
Parameters
$resource : mixed
Return values
mixed

loadBinaryString()

{@inheritdoc}

public loadBinaryString(mixed $data) : mixed
Parameters
$data : mixed
Return values
mixed

loadFile()

{@inheritdoc}

public loadFile(mixed $file) : mixed
Parameters
$file : mixed
Return values
mixed

Search results