/
githubmirror
/
framework
Обзор
Документация
Войти
/
githubmirror
/
framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
13.x
src/Illuminate/Contracts/Image/Driver.php
32 строки
833 B
Zac Hiler
[13.x] Fix incorrect image dimensions for HEIC (#61010)
05 авг 2026, 17:41
Не верифицирован
05 авг 2026, 17:41
eade0a1
Код
Авторство
О чём код?
<?php namespace Illuminate\Contracts\Image; use Illuminate\Image\ImagePipeline; interface Driver { /** * Process the given image contents with the specified pipeline. */ public function process(string $contents, ImagePipeline $pipeline): string; /** * Get the dimensions of the given image contents. * * @return array{0: int, 1: int} */ public function dimensions(string $contents): array; /** * Get the dominant (average) color of the image as a hex string. */ public function dominantColor(string $contents): string; /** * Register a transformation handler. * * @param class-string<\Illuminate\Contracts\Image\Transformation> $transformation */ public function transformUsing(string $transformation, callable $callback): static; }