\Kaloa\ImageImage

Summary

Methods
Properties
Constants
__construct()
__call()
getMimeType()
createFromPath()
createFromGd()
createFromString()
filter()
isInitialized()
getResource()
output()
outputRaw()
getFactory()
setFactory()
__clone()
No public properties found
TYPE_UNKNOWN
TYPE_JPEG
TYPE_PNG
TYPE_GIF
TYPE_BMP
TYPE_TIFF
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Constants

TYPE_UNKNOWN

TYPE_UNKNOWN

TYPE_JPEG

TYPE_JPEG

TYPE_PNG

TYPE_PNG

TYPE_GIF

TYPE_GIF

TYPE_BMP

TYPE_BMP

TYPE_TIFF

TYPE_TIFF

Methods

__call()

__call(  $name,   $arguments) 

Parameters

$name
$arguments

getMimeType()

getMimeType() 

createFromPath()

createFromPath(  $path) 

Parameters

$path

createFromGd()

createFromGd(  $resource) 

Parameters

$resource

createFromString()

createFromString(  $imageData) 

Parameters

$imageData

isInitialized()

isInitialized() 

getResource()

getResource() 

output()

output() 

Output image directly

Appopriate MIME types will be set.

outputRaw()

outputRaw() : string

Returns

string —

Binary string containing image data

__clone()

__clone()