ImageFormatReader: add iamge format readers

This commit is contained in:
Zankaria 2025-03-17 22:21:38 +01:00
parent 557e43e38f
commit 1485ef3f2d
3 changed files with 62 additions and 0 deletions

View file

@ -0,0 +1,11 @@
<?php
namespace Vichan\Service\Media;
interface ImageFormatReader {
/**
* @param string $file_path Image file path.
* @return array An array with width and height.
*/
public function getSizes(string $file_path): array;
}