write.raw | R Documentation |
Image RAW data is saved as a 16-Bit greyvalue png image. EXIF information contained in the original RAW image is stored as a comment.
write.raw(img, filename = "tmp.png")
img |
object of class |
filename |
Name of the resulting png-image. If filename does not include an extension ".png" the extension ".png" is added. |
EXIF information contained in the original RAW image as well
as other available information in object img
are added as a
comment to the resulting png-image. This comment is evaluated when the
image is read by functions read.raw
or read.image
Nothing is returned.
ImageMagick has to be installed on the system to write "png" files.
Karsten Tabelow tabelow@wias-berlin.de and Joerg Polzehl polzehl@wias-berlin.de
read.raw
, develop.raw
## Not run: demo(raw)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.