import javax.imageio.ImageIO; public class Jai { /** * Display file formats supported by JAI on your platform. * e.g BMP, bmp, GIF, gif, jpeg, JPEG, jpg, JPG, png, PNG, wbmp, WBMP * @param args not used */ public static void main ( String[] args ) { String[] names = ImageIO.getWriterFormatNames(); for ( String name: names ) { out.println( name ); } } }