diff options
Diffstat (limited to 'UVtools.Core/FileFormats/IFileFormat.cs')
-rw-r--r-- | UVtools.Core/FileFormats/IFileFormat.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/UVtools.Core/FileFormats/IFileFormat.cs b/UVtools.Core/FileFormats/IFileFormat.cs index 6ae40d7..2db8d31 100644 --- a/UVtools.Core/FileFormats/IFileFormat.cs +++ b/UVtools.Core/FileFormats/IFileFormat.cs @@ -75,6 +75,8 @@ namespace UVtools.Core.FileFormats /// </summary> Mat[] Thumbnails { get; set; } + + /// <summary> /// Gets the cached layers into compressed bytes /// </summary> @@ -231,6 +233,13 @@ namespace UVtools.Core.FileFormats void SetThumbnails(Mat images); /// <summary> + /// Sets a thumbnail from a disk file + /// </summary> + /// <param name="index">Thumbnail index</param> + /// <param name="filePath"></param> + void SetThumbnail(int index, string filePath); + + /// <summary> /// Encode to an output file /// </summary> /// <param name="fileFullPath">Output file</param> |