forked from leftypol/leftypol
17 lines
372 B
PHP
17 lines
372 B
PHP
<?php
|
|
namespace Vichan\Data;
|
|
|
|
|
|
class ImageMetadata {
|
|
public int $width;
|
|
public int $height;
|
|
public string $mime;
|
|
public ?int $exif_orientation;
|
|
|
|
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;
|
|
}
|
|
}
|