using System.Threading.Tasks;
namespace OpenArchival.DataAccess.FileAccessManager;
public interface IImageThumbnailer
{
///
/// Generates small and large thumbnails for the given image file.
///
/// The full path to the original image file.
/// A task that returns a ThumbnailResult containing the paths to the generated thumbnails.
Task GenerateThumbnailsAsync(string originalFilePath);
///
/// Checks if the file at the given path is a supported image format.
///
bool IsSupportedImage(string filePath);
}
public record ThumbnailResult(string SmallThumbnailPath, string LargeThumbnailPath);