public void SaveResizedImage(int newWidth, string outPath) { CreateDirectoryForFile(outPath); using (MagickWand wand = new MagickWand()) { wand.ReadImage(filename); wand.TransformImage("", newWidth.ToString()); wand.WriteImage (outPath); } }
public void SaveResizedImage(int newWidth, string outPath) { CreateDirectoryForFile(outPath); using (MagickWand wand = new MagickWand()) { wand.ReadImage(filename); wand.TransformImage("", newWidth.ToString()); wand.WriteImage (outPath); } }