The set of formats available for reading can be obtained by calling ImageIO.getReaderFormatNames. This will return an array of Strings containing the names of the available formats, such as "gif" and "png."
String[] formatNames = ImageIO.getReaderFormatNames(); for (String formatName : formatNames) { System.out.println(formatName); }
jpg BMP bmp JPG jpeg wbmp png JPEG PNG WBMP GIF gif