CaptureImage.fromFile Method¶
Module: CaptureImage
Definition¶
Creates an Image from the specified file.
static CaptureImage fromFile(String? filepath, PixelFormat pixelFormat)
Parameters
filepath Stringin A string that contains the name of the file from which to create the Image.
pixelFormat PixelFormatin The pixel format into which to convert the input image.
Returns
The newly created capture image.
Exceptions
An error has occurred during Devices Library execution.