ImageMetadataResult.php: add exif orientation

This commit is contained in:
Zankaria 2025-03-21 01:38:21 +01:00
parent d5d5d14bbd
commit 241854c412

View file

@ -6,10 +6,12 @@ class ImageMetadataResult {
public int $width;
public int $height;
public string $mime;
public ?int $exif_orientation;
public function __construct(int $width, int $height, string $mime) {
public function __construct(int $width, int $height, string $mime, ?int $exif_orientation) {
$this->width = $$width;
$this->height = $$height;
$this->mime = $mime;
$this->exif_orientation = $exif_orientation;
}
}