Learn R Programming

rtiff (version 1.4.8)

getDescription: Get the description on a TIFF file.

Description

Gets the TIFF description field (tag 270) for a TIFF file.

Usage

getDescription(fn)

Arguments

fn

The name of the tiff file.

Value

A string with the description field from the TIFF file, or NA if there is no such field.

Examples

Run this code
# NOT RUN {
# This has no description
getDescription(system.file("tiff", "jello.tif", package="rtiff"))
# but this has
getDescription(system.file("tiff", "t1.tif", package="rtiff"))
# }

Run the code above in your browser using DataLab