Skip to content

Kirby 4.3.0

$filemodifications->quality()

Sets the JPEG compression quality

$filemodifications->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\FileModifications