FromStream Method (RawImage)
In This Topic
Creates a new instance of the
RawImage class from a stream,
RawImage supports only JPEG or JPEG2000 image formats.
Syntax
'Declaration
Public Shared Function FromStream( _
ByVal As System.IO.Stream, _
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 FromStream(
System.IO.Stream ,
RawImageFormat ,
System.int ,
System.int ,
System.float ,
System.float
)
Parameters
- stream
- The stream 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