ImageReader is a wrapper of QImageReader that support asynchronous operation and read from image provider. More...
Import Statement: | import . |
It is a singleton component
Returns true if an image can be read for the device (i.e., the image format is supported, and the device seems to contain valid data); otherwise returns false.
You need to call fetch() before access this property.
This property indicate the error occured during read()
This property holds the image read by the reader. You need to call read() before access this property
Returns TRUE if the fetch() function is completed. Otherwise, it will returns false.
This property indicate is the read() function finished.
Fetch the information of the image without actually reading the image content. It is asynchronous call. Once it is fetched, it will emit fetched() signal and set isFetched property to true.
Reads an image from the source. On success, it will set the isReady and image property.
Otherwise, it will set isError to true. You can then access errorString poroperty to find out the type of error that occurred.