writePPM.RGBImage {R.image}R Documentation

Writes the image to a file in Portable PixMap (PPM) format

Description

Writes the image to a file in Portable PixMap (PPM) format or the RGB format.

Usage

## S3 method for class 'RGBImage':
writePPM(this, filename, ascii=FALSE, ...)

Arguments

filename The name of the image file.
ascii If TRUE the pixel values will be save in ASCII format, otherwise they will be save as binary bytes. Default value is FALSE.
... Not used.

Value

Returns nothing.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

References

About the PPM format: http://www.dcs.ed.ac.uk/home/mxr/gfx/2d/PPM.txt

See Also

For writing an image to a file in any format see write.BitmapImage(). For reading an image from a file in any format see read.BitmapImage(). For more information see RGBImage.


[Package R.image version 0.2.3 Index]