How to Convert .jpg to .bmp Image Format
I Need to convert .jpg file to a .bmp file, When i am trying to convert it the converted image could not opening.
//Create file for the source
File input = new File("c:/temp/image.jpg");
//Read the file to a BufferedImage
BufferedImage image = ImageIO.read(input)
//Create a file for the output
File output = new File("c:/temp/image.bmp");
//Write the image to the destination as a JPG
ImageIO.write(image, "bmp", output);
I am Trying Above code to try this can any one suggest how to do this without changing the quality.
Waiting for Positive Comments which will help me Out.
Thanks in Advance....