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