C# Class Downsize.ImageExtensions

ファイルを表示 Open project: ChaseFlorell/Downsize

Public Methods

Method Description
Save ( this image, string path, System.Drawing.Imaging.ImageCodecInfo codec, bool dryRun ) : void

Extension method to help save out images. If codec is null, it'll save as original format

Method Details

Save() public static method

Extension method to help save out images. If codec is null, it'll save as original format
public static Save ( this image, string path, System.Drawing.Imaging.ImageCodecInfo codec, bool dryRun ) : void
image this Image to save
path string Path to save it to
codec System.Drawing.Imaging.ImageCodecInfo Codec to save as (can be null).
dryRun bool
return void