[]
Returns the contents of an image.
public static byte[] ImageToByteArray(Image image, ImageFormat format)
Type | Name | Description |
---|---|---|
Image | image | Image to return as a byte array. |
ImageFormat | format | Format in which to return the image contents. |
Type | Description |
---|---|
byte[] |