ImageRendererInterface
Less than 1 minute
ImageRendererInterface
Methods
load
public load({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$bytes | string | |
$type | string |
loaded
public loaded({Array})
read
public read({Array})
quality
public quality({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$quality | int |
width
public width({Array})
height
public height({Array})
compress
public compress({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$quality | int |
resize
public resize({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$width | int | |
$height | int | |
$crop | bool | |
$align | string | |
$keep_aspect | bool | |
$reduce_only | bool | |
$ratio | float | |
$offsetTop | int | |
$offsetLeft | int |
expand
public expand({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$xwidth | int | |
$xheight | int | |
$align | string | |
$offsetTop | int | |
$offsetLeft | int |
Generated by Hazaar API Doc Generator