[]
Writes specified image to file.
public static ImageFormat WriteImageToFile(Image image, ImageFormat imageFormat, string fileName)
| Type | Name | Description |
|---|---|---|
| Image | image | |
| ImageFormat | imageFormat | |
| string | fileName |
| Type | Description |
|---|---|
| ImageFormat | Returns null if error occurs during writing or ImageFormat which was actually used to save an image. |