Skip to content

Kirby 4.4.1

$file->quality()

Sets the JPEG compression quality

$file->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\Cms\File