Learn R Programming

ijtiff (version 3.1.1)

read_tags: Read TIFF tag information without actually reading the image array.

Description

TIFF files contain metadata about images in their TIFF tags. This function is for reading this information without reading the actual image.

Usage

read_tags(path, frames = "all", translate_tags = TRUE)

tags_read(path, frames = 1)

Value

A list of lists.

Arguments

path

A string. The path to the tiff file to read.

frames

Which frames do you want to read. Default all. To read the 2nd and 7th frames, use frames = c(2, 7).

translate_tags

Logical. Should the TIFF tags be translated to human-readable strings? E.g. Compression = 1 becomes Compression = "none".

Author

Simon Urbanek, Kent Johnson, Rory Nolan.

See Also

read_tif()

Examples

Run this code
read_tags(system.file("img", "Rlogo.tif", package = "ijtiff"))

Run the code above in your browser using DataLab