public static void WriteImageFile( Image originalImage, string fileName, int desiredWidth, int desiredHeight, bool maintainAspectRatio, int quality )
Parameters
- originalImage
- Image to write
- fileName
- File to write to
- desiredWidth
- Desired width of the image
- desiredHeight
- Desired height of the image
- maintainAspectRatio
- If true aspect ratio is maintained while resizing
- quality
- Quality of the image in percent