Learn R Programming

adimpro (version 0.6.3.1)

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")

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.

Value

  • Nothing is returned.

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

See Also

read.raw, develop.raw