Image Conversion

We ask that you submit your final images for assignment 1 in JPEG format. You can convert the images from BMP in any way you like, however we provide a small command line utility img2img for converting on Windows. The usage is simply:

img2img input.bmp output.jpg

The program determines the file format of the input and output files from the extension. Supported file formats are BMP (.bmp), PPM (.ppm), and JPEG (.jpg or .jpeg).

On linux, the command line utility convert performs the same function as img2img, and provides a whole lot of extra functionality besides.

If you run into trouble, email the COS426 staff (cos426@cs.princeton.edu).