Learn R Programming

adimpro (version 0.9.7)

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.

Author

Karsten Tabelow tabelow@wias-berlin.de and Joerg Polzehl polzehl@wias-berlin.de

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
if (FALSE) demo(raw)

Run the code above in your browser using DataLab