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

View source: R/read.R

read_tagsR Documentation

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)

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".

Value

A list of lists.

Author(s)

Simon Urbanek, Kent Johnson, Rory Nolan.

See Also

read_tif()

Examples

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

ropensci/ijtiff documentation built on July 4, 2025, 3:50 a.m.