'Declaration Public Shared Function ImageToByteArray( _ ByVal image As Image, _ ByVal format As ImageFormat _ ) As Byte()
public static byte[] ImageToByteArray( Image image, ImageFormat format )
Parameters
- image
- Image to return as a byte array.
- format
- Format in which to return the image contents.