write.raw: Write image RAW data as greyvalue png image
Description
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.
Usage
write.raw(img, filename = "tmp.png")
Value
Nothing is returned.
Arguments
- img
object of class "adimpro"
containing
image RAW data (img$type=="RAW"
.)
- filename
Name of the resulting png-image. If filename does
not include an extension ".png" the extension ".png" is added.
Details
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