You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public static bool Open(this Image img) - Saves the image to the temp directory and opens it in the default application.
public static string GetExtension(this Image img) - Gets the default extension that can be used for the file name of the image.
public static Image Resize(this Image img, int maxWidth, int maxHeight) - Proportionally resizes an image to fit within the given dimensions.
public static Image Resize(this Image img, int maxWidth, int maxHeight, ResizeMethod method) - Resizes an image.
public static Image Resize(this Image img, Size max, ResizeMethod method) - Resizes an image.
public static bool IsImage(string path) - Determines if the path is the path to an image file. Supports jpg, jpeg, gif, bmp, emf, exif, ico, png, tif, and wmf.