Skip to content

Kirby 4.5.0

$asset->quality()

Sets the JPEG compression quality

$asset->quality(int $quality): Kirby\Cms\FileVersion|Kirby\Cms\File|Kirby\Filesystem\Asset

Parameters

Name Type Default
$quality * int

Return type

Kirby\Cms\FileVersion|Kirby\Cms\File|Kirby\Filesystem\Asset

Parent class

Kirby\Filesystem\Asset