static bool isTiff(String imagePath) { return imagePath.toLowerCase().endsWith(TIF_EXT) || imagePath.toLowerCase().endsWith(TIFF_EXT); }