Hi,
Anybody knows how to read a gray-scale image format .PGM (Portable Gray Map) file and convert into a color image format .PPM (Portable Pixel Map)?
Ken JS
Printable View
Hi,
Anybody knows how to read a gray-scale image format .PGM (Portable Gray Map) file and convert into a color image format .PPM (Portable Pixel Map)?
Ken JS
Visit http://www.wotsit.org/ and read up on the two file formats.
IIRC, they're both just text files which begin with some basic information like the width and height.