read_tiff_tags: Read TIFF tag information.

View source: R/read_tiff_tags.R

read_tiff_tagsR Documentation

Read TIFF tag information.

Description

TIFF files contain metadata about images in their TIFF tags. This function is for reading this information without reading the actual image. It extends on the read_tags function from the ijtiff package, and extracts additional information nested within the description attribute of some TIFF images.

Usage

read_tiff_tags(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.

Examples

rcell2::read_tiff_tags(path = "data/image_samples/BF_Position001.tif", frames = 1)


gerbeldo/tidycell documentation built on Aug. 15, 2022, 2:35 p.m.