detect abstract method
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);