| writePPM.RGBImage {R.image} | R Documentation |
Writes the image to a file in Portable PixMap (PPM) format or the RGB format.
## S3 method for class 'RGBImage': writePPM(this, filename, ascii=FALSE, ...)
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. |
Returns nothing.
Henrik Bengtsson (http://www.braju.com/R/)
About the PPM format: http://www.dcs.ed.ac.uk/home/mxr/gfx/2d/PPM.txt
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.