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); }
public static void GenerateThumbnail(Stream stream, string outputPath, ref ImageInfo imageInfo, int maxWidth, int maxHeight) { ThumbnailGenerator _generator = new ThumbnailGenerator(null, true, maxWidth, maxHeight, maxWidthPreview, maxHeightPreview); _generator.DoThumbnail(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 RotateImage(string path, string outputPath, bool back, IDataStore store) { ThumbnailGenerator _generator = new ThumbnailGenerator(null, true, maxSize, maxSize, maxWidthPreview, maxHeightPreview); _generator.store = store; _generator.RotateImage(path, outputPath, back); }
public static void GenerateThumbnail(string path, string outputPath, ref ImageInfo imageInfo, int maxWidth, int maxHeight, IDataStore store) { ThumbnailGenerator _generator = new ThumbnailGenerator(null, true, maxWidth, maxHeight, maxWidthPreview, maxHeightPreview); _generator.store = store; _generator.DoThumbnail(path, outputPath, ref imageInfo); }
public static void GenerateThumbnail(Stream stream, string outputPath, ref ImageInfo imageInfo, IDataStore store) { var _generator = new ThumbnailGenerator(true, maxSize, maxSize, maxWidthPreview, maxHeightPreview) { Store = store }; _generator.DoThumbnail(stream, outputPath, ref imageInfo); }