forked from leftypol/leftypol
ImageMetadataResult.php: add exif orientation
This commit is contained in:
parent
d5d5d14bbd
commit
241854c412
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue