probeImage

Probes an image file or URL to retrieve its details such as dimensions and channels.

Return

an instance of ImageFileDetails containing width, height, and channels of the image, or null if the image could not be probed or does not exist.

Since

0.4.3

Parameters

fileOrUrl

a string representing the file path or a URL to the image resource.