2024-06-28 21:16:51 +00:00
|
|
|
namespace BotSharp.Abstraction.Files.Converters;
|
|
|
|
|
|
|
|
|
|
public interface IPdf2ImageConverter
|
|
|
|
|
{
|
2024-08-31 00:31:18 +00:00
|
|
|
public string Provider { get; }
|
2024-08-09 21:03:29 +00:00
|
|
|
|
2024-06-28 21:16:51 +00:00
|
|
|
/// <summary>
|
|
|
|
|
/// Convert pdf pages to images, and return a list of image file paths
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="pdfLocation">Pdf file location</param>
|
|
|
|
|
/// <param name="imageFolderLocation">Image folder location</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Task<IEnumerable<string>> ConvertPdfToImages(string pdfLocation, string imageFolderLocation);
|
|
|
|
|
}
|