Learn R Programming

adimpro (version 0.8.2)

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

Examples

Run this code
# NOT RUN {
demo(raw)
# }

Run the code above in your browser using DataLab