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