PANDORE Version 6 GREYC-IMAGE

ptxt2pan



Converts text file to Pandore image file.



Synopsis

ptxt2pan type width height depth im_in [im_out|-]

Description

ptxt2pan builds the new Pandore image im_out from the list of points from the input text file im_in. The result image format is defined from the parameter values. The text file must respect the followings:

	value x y (z)

where z is omitted in case of 2D images.

Parameters

Inputs

Outputs

Result

Returns SUCCESS or FAILURE.

Examples

Builds an 2D byte image of size 256x256 with the pixels given with the specified file image.txt:

   ptxt2pan 0 256 256 0 image.txt image.pan

See also

Conversion, ppan2txt

C++ prototype

Errc PTxt2pan( const Img3duc &im_out, char *nom, Long depth, Long height, Long width );

Version française

Conversion d'une liste de points dans un fichier texte en une image.


Author: François Angot