PANDORE Version 6 GREYC-IMAGE

ppan2ppm



Converts Pandore image file to PPM (ascii) image file.



Synopsis

ppan2ppm [im_in|-] [im_out|-]

Description

ppan2ppm converts the Pandore file im_in to the PPM file format im_out.

A PPM consists of the followings:

Example:

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

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

See also

Conversion, pppm2pan

C++ prototype

Errc PPan2PPM( const Img2duc &ims, char* f_out );

Author: Régis Clouard