PANDORE Version 6 | GREYC-IMAGE |
pppm2pan converts a PPM (Portable PixMap image), PGM (Portable GrayMap image), or PBM (Portable BitMap image) to Pandore image file.
A PPM, PGM, PBM consists of the followings:
Each line can include comments introduced by #.
Examples:
P2 #Gray scale image #with 5 columns and 5 rows. 5 4 255 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5 1 2 3 4 5
Tip: PPM image can be easily built by hand. This is a convenient way to build image from scratch.
Returns SUCCESS or FAILURE.
pppm2pan image.ppm image.pan pvisu image.pan
Author: Régis Clouard