devxlogo

What Image Formats Does Your Java Application Support?

What Image Formats Does Your Java Application Support?

Use this application to determine what image formats you can load and save in J2SE.

import javax.imageio.*;class picture{ public picture(){}                         void RWF()  {    //read image formats  System.out.println("R-IF:");  String[] readFormats=ImageIO.getReaderFormatNames();              for(int i=0;i<readFormats.length;i++)        System.out.println(readFormats[i]);  //write image formats  System.out.println("W-IF:");  String[] writeFormats=ImageIO.getWriterFormatNames();              for(int i=0;i
devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist