CSE 457 Introduction to Computer Graphics
Spring Quarter 2006

Converting BMP Images to JPEG Images

bmptoppm (UNIX)

bmptoppm converts BMP files to other portable formats. To convert file.bmp in BMP format to file.jpg in JPEG format with quatlity factor 90, type:

bmptoppm < file.bmp | cjpeg -q 90 > file.jpg

convert (UNIX)

convert is part of the ImageMagick suite, and can handle a wide variety of image conversion and manipulation tasks. It is installed on all instructional Linux systems. To convert file.bmp in BMP format to file.jpg in JPEG format with quatlity factor 90, type:

convert -quality 90 file.bmp file.jpg

Adobe Photoshop (Windows)

Photoshop is installed on all machines in Sieg 327. Launch Photoshop and:

  1. Click File->Open... to open your BMP file.
  2. Click File->Save As....
  3. In the Save As dialog, change the file type in Save As edit window to JPEG (*.JPG;*.JPE). Click Save.
  4. Change the Quality to High. Click OK.

Microsoft Photo Editor (Windows)

Machines with Microsoft Office installed probably also have Microsoft Photo Editor installed. Clcik Start->Programs->Microsoft Office Tools->Microsoft Photo Editor. If it's not accessible from the Start menu, it's probably hidden in C:\Program Files\Common Files\Microsoft Shared\PhotoEd\PhotoEd.exe. Launch the program and:

  1. Click File->Open... to open your BMP file.
  2. Click File->Save As....
  3. In the Save As dialog, change the file type in Save as type: edit window to JPEG File Interchange Format (*.jpg;*.jpeg).
  4. Click More >> and change JPEG quality factor to 90. Click Save.

IrfanView (Windows)

"IrfanView is a very fast FREEWARE (for non-commercial use) 32-Bit graphic viewer for Windoze 9x, Windows NT and Windows 2000." Please visit their website at http://www.irfanview.com/ for more information. It is also installed on all machines in Sieg 327.

design by Ian Li, Spring '06 maintenance by Elizabeth Arrowsmith, esais@cs CSE 457 Introduction to Computer Graphics
Spring Quarter 2006
 
 
  Last modified: Monday, 27-Mar-2006 14:17:20 PST