src/includes/classes/Core/Utils/Image.php
protected function formatToCompressionQuality(string $format): int
    {
        switch (($ext = $this->formatToExt($format))) {
            case 'jpg':
                $quality = 85;
                break;

            default:
                $quality = 92;
        }
        return $quality;
    }
protected function formatToCompressionQuality(string $format): int
    {
        switch (($ext = $this->formatToExt($format))) {
            case 'jpg':
                $quality = 85;
                break;

            default:
                $quality = 92;
        }
        return $quality;
    }
Format to compression quality.

@since 17xxxx Imagick utils.

@param string $format Image format.

@return int Format compression quality.