SenseNet.Preview by kavics,aniko,laci,borsi,lajos,tusmester

<PackageReference Include="SenseNet.Preview" Version="7.0.0-beta2" />

 IPreviewGenerationContext

public interface IPreviewGenerationContext
int ContentId { get; }

int MaxPreviewCount { get; }

int PreviewResolution { get; }

int PreviewsFolderId { get; }

int StartIndex { get; }

string Version { get; }

void LogError(int page, string message = null, Exception ex = null)

void LogInfo(int page, string message)

void LogWarning(int page, string message)

void SaveEmptyPreview(int page)

void SaveImage(Bitmap image, int page)

void SavePreviewAndThumbnail(Stream imgStream, int page)

void SetIndexes(int pageCount, out int firstIndex, out int lastIndex)

void SetPageCount(int pageCount)