ImageFormatReader: rework into ImageMetadataReader

This commit is contained in:
Zankaria 2025-03-18 00:40:03 +01:00
parent 7f6e84e593
commit 29684043ab
5 changed files with 58 additions and 47 deletions

View file

@ -0,0 +1,12 @@
<?php
namespace Vichan\Service\Media;
use Vichan\Data\ImageMetadataResult;
interface ImageMetadataReader {
/**
* @param string $file_path Image file path.
*/
public function getMetadata(string $file_path): ImageMetadataResult;
}