public load(string $bytes, string $type): int
| Parameter | Type | Description |
|---|
$bytes | string | |
$type | string | |
public quality(?int $quality): int
| Parameter | Type | Description |
|---|
$quality | int | |
public compress(int $quality): void
| Parameter | Type | Description |
|---|
$quality | int | |
public resize(?int $width, ?int $height, bool $crop, ?string $align, bool $keepAspect = true, bool $reduceOnly = true, ?float $ratio, int $offsetTop, int $offsetLeft): bool
| Parameter | Type | Description |
|---|
$width | int | |
$height | int | |
$crop | bool | |
$align | string | |
$keepAspect | bool | |
$reduceOnly | bool | |
$ratio | float | |
$offsetTop | int | |
$offsetLeft | int | |
public expand(?int $xwidth, ?int $xheight, string $align = 'topleft', int $offsetTop, int $offsetLeft): bool
| Parameter | Type | Description |
|---|
$xwidth | int | |
$xheight | int | |
$align | string | |
$offsetTop | int | |
$offsetLeft | int | |
Generated by Hazaar API Doc Generator on Mon, 27 Oct 2025 13:01:29 +0000