Page 1 of 1

Bitmap image

Posted: Mon Jul 23, 2012 3:31 pm
by edeferaxy
How do you make a Bitmap image a JPEG image? And can you do this using a photo in a normal windows folder? All of my pictures use the JPEG image symbol, however some use the paint symbol (Bitmap). Can I convert them to JPEG format?
keyword research ~ keyword tool ~ keyword tracking ~ affiliate elite

Re: Bitmap image

Posted: Mon Jul 23, 2012 11:44 pm
by brianfry713
In MS Paint you can convert a BMP to a JPEG.

Re: Bitmap image

Posted: Mon Dec 29, 2014 12:22 pm
by massonmilo
As for image conversion between Bitmap and JPEG images is of course can be achieved. Here is the code which i am using
import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
public class ConvertJPGToBMP
public static void main(String a[]){
System.out.println("Enter image name\n");
BufferedReader bf=new BufferedReader(new InputStreamReader(;
String imageName=bf.readLine();
File input = new File(imageName);
BufferedImage image =;
System.out.println("Enter the output image name(.bmp):\n");
String imageName1=bf.readLine();
File output = new File(imageName1);
ImageIO.write(image, "bmp", output);
System.out.println("Your image has been converted successfully");
}catch(FileNotFoundException e){
}catch(IOException e)
catch(Exception e){

See also: Convert Image, Image Conversion Solution