FromBytes Method (RawImage)
In This Topic
Creates a new instance of the
RawImage class from a byte array,
RawImage supports only JPEG or JPEG2000 image formats.
Syntax
'Declaration
Public Shared Function FromBytes( _
ByVal () As System.Byte, _
ByVal As RawImageFormat, _
ByVal As System.Integer, _
ByVal As System.Integer, _
Optional ByVal As System.Single, _
Optional ByVal As System.Single _
) As RawImage
public static RawImage FromBytes(
System.byte[] ,
RawImageFormat ,
System.int ,
System.int ,
System.float ,
System.float
)
Parameters
- data
- The byte array containing image data.
- format
- The format of the image.
- width
- The width of the image in pixels.
- height
- The height of the image in pixels.
- horizontalResolution
- The horizontal resolution.
- verticalResolution
- The vertical resolution.
See Also