using API.Entities;
using API.Services;
namespace API.Interfaces.Services
{
public interface IImageService
{
string GetCoverImage(string path, string fileName);
string GetCoverFile(MangaFile file);
///
/// Creates a Thumbnail version of an image
///
/// Path to the image file
/// File name with extension of the file. This will always write to
public string CreateThumbnail(string path, string fileName);
///
/// Creates a Thumbnail version of a base64 image
///
/// base64 encoded image
/// File name with extension of the file. This will always write to
public string CreateThumbnailFromBase64(string encodedImage, string fileName);
}
}