ijtiff (version 2.0.2)

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 = 1)

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 tags from. Default first frame only. To read from the 2nd and 7th frames, use frames = c(2, 7), to read from all frames, use frames = "all".

Value

A list of lists.

See Also

read_tif()

Examples

Run this code
# NOT RUN {
read_tags(system.file("img", "Rlogo.tif", package = "ijtiff"))
read_tags(system.file("img", "2ch_ij.tif", package = "ijtiff"))
read_tags(system.file("img", "2ch_ij.tif", package = "ijtiff"),
  frames = c(2, 4)
)
# }

Run the code above in your browser using DataLab