public static void GeneratePreview(Stream stream, string outputPath, ref ImageInfo imageInfo) { var _generator = new ThumbnailGenerator(null, true, maxSize, maxSize, maxWidthPreview, maxHeightPreview); _generator.DoPreviewImage(stream, outputPath, ref imageInfo); }
public static void GeneratePreview(Stream stream, string outputPath, ref ImageInfo imageInfo, IDataStore store) { var _generator = new ThumbnailGenerator(true, maxSize, maxSize, maxWidthPreview, maxHeightPreview) { Store = store }; _generator.DoPreviewImage(stream, outputPath, ref imageInfo); }
public static void GeneratePreview(Stream stream, string outputPath, ref ImageInfo imageInfo, IDataStore store) { ThumbnailGenerator _generator = new ThumbnailGenerator(null, true, maxSize, maxSize, maxWidthPreview, maxHeightPreview); _generator.store = store; _generator.DoPreviewImage(stream, outputPath, ref imageInfo); }
public static void GeneratePreview(string path, string outputPath, ref ImageInfo imageInfo) { ThumbnailGenerator _generator = new ThumbnailGenerator(null, true, maxSize, maxSize, maxWidthPreview, maxHeightPreview); _generator.DoPreviewImage(path, outputPath, ref imageInfo); }