ImgFormat
in package
Read onlyYes
FinalYes
Table of Contents
Constants
- WEBP_QUALITY_HIGH : int<1, 100> = 95
Properties
- $minSizeX : int
- $minSizeY : int
- $webpQuality : int
Methods
- __construct() : mixed
- scale() : array{0: positive-int, 1: positive-int}
Constants
WEBP_QUALITY_HIGH
public
int<1, 100>
WEBP_QUALITY_HIGH
= 95
Properties
$minSizeX
public
int
$minSizeX
$minSizeY
public
int
$minSizeY
$webpQuality
public
int
$webpQuality
Methods
__construct()
public
__construct(positive-int $minSizeX, positive-int $minSizeY, int<1, 100> $webpQuality) : mixed
Parameters
- $minSizeX : positive-int
- $minSizeY : positive-int
- $webpQuality : int<1, 100>
scale()
public
scale(positive-int $sizeX, positive-int $sizeY) : array{0: positive-int, 1: positive-int}
Parameters
- $sizeX : positive-int
- $sizeY : positive-int