using API.Entities;
namespace API.Interfaces.Services
{
public interface IImageService
{
byte[] GetCoverImage(string path, bool createThumbnail = false);
string GetCoverFile(MangaFile file);
///
/// Creates a Thumbnail version of an image
///
/// Path to the image file
///
public byte[] CreateThumbnail(string path);
///
/// Creates a Thumbnail version of a base64 image
///
/// base64 encoded image
///
public byte[] CreateThumbnailFromBase64(string encodedImage);
}
}