/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
src/Illuminate/Image/ImageOutputOptions.php
33 строки
611 B
Rias
[13.x] Add HEIC and additional AVIF support (#60922)
03 авг 2026, 00:46
Не верифицирован
03 авг 2026, 00:46
ae89eb5
Код
Авторство
О чём код?
<?php namespace Illuminate\Image; class ImageOutputOptions { /** * The default output quality. */ const DEFAULT_QUALITY = 70; /** * The output format. * * @var 'webp'|'jpg'|'jpeg'|'png'|'gif'|'avif'|'heic'|'bmp'|null */ public ?string $format = null; /** * The output quality (1-100). * * @var int<1, 100>|null */ public ?int $quality = null; /** * Determine if any output options have been set. */ public function hasChanges(): bool { return $this->format !== null || $this->quality !== null; } }