This program supports lossless compression of PPM format RGB images with 8 bits per channel. For PPM format, the header information starts with a single line in plain-text format: P6 cols rows maxval The header is followed by cols times rows triplets of symbols, where each symbol in a triplet represents a RGB value, in binary format. If the PPM file includes any comments in the header section and/or the header section is written as three lines, please use PPM_Converter.exe before BWIC_I.exe to convert the image file. USAGE: - PPM_Converter.exe inputfile outputfile inputfile : input file must be in PPM format outputfile : output file in PPM format after removing the comments in header of PPM file and converting the header section. - BWIC_I.exe MODE_FLAG inputfile outputfile MODE_FLAG: -e : performs compression -d : performs decompression inputfile : input file must be in PPM format outputfile : compressed output file EXAMPLE: The header of kodak01.ppm file: P6 768 512 255 P6: 3 components image 768: Number of columns 512: Number of rows 255: Maximum color value in each channel To compress kodak01.ppm image file: BWIC_I.exe -e kodak01.ppm kodak01.bwici To decompress kodak01.bwici file: BWIC_I.exe -d kodak01.bwici kodak01.ppm NOTES: - This program supports compression and decompression a single PPM image file at a time. - Header must be a single line in ASCII format. In some images, the header may come in three lines; in this case, header first needs to be converted into single line form before processing. - It has been tested on Microsoft Windows 10 x64. - The link for PPM images: http://www.cs.fredonia.edu/~arnavut/research/BWIC_I/