PANDORE Version 6 |
GREYC-IMAGE |
ppan2jpeg
Converts Pandore file to JPEG image file.
Synopsis
ppan2jpeg quality [im_in|-] [im_out|-]
Description
ppan2jpeg converts a Pandore image file to a
JPEG image file.
Only the following Pandore image types can be converted:
- 2D gray level image of bytes (Img2duc);
- 2D color image of bytes (Imc2duc);
Other Pandore image types might be converted to
regular types using convenient
casting operators.
Parameter
- quality: The quality value is expressed by a real value
on the 0..1 scale, where 1 is the maximum quality (no compression).
Inputs
- im_in: a 2D image (img2duc, Imc2duc) or a 2D region map.
Outputs
- im_out: a JPEG image file.
Result
Returns SUCCESS or FAILURE.
Examples
ppan2jpeg 0.9 tangram.pan image.jpg
See also
Conversion,
pjpeg2pan
C++ prototype
Errc PPan2Jpeg( const Imc2duc &ims, char *fich, float quality );
Version française
Conversion d'une image 2D Pandore en image JPEG.
Author: Régis Clouard