detect abstract method

ImageType detect(
  1. File filePath
)

Detects the image type of the given file.

Returns the detected ImageType, or ImageType.unsupported if the file type cannot be determined.

Parameters:

  • filePath: The image file to analyze

Implementation

ImageType detect(File filePath);