write.raw {adimpro}R Documentation

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.

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

Value

Nothing is returned.

Note

ImageMagick has to be installed on the system to write "png" files.

Author(s)

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

See Also

read.raw, develop.raw

Examples

## Not run: demo(raw)

[Package adimpro version 0.9.6 Index]