powered by
TIFF files contain metadata about images in their TIFF tags. This function is for reading this information without reading the actual image.
read_tags(path, frames = "all", translate_tags = TRUE)tags_read(path, frames = 1)
tags_read(path, frames = 1)
A list of lists.
A string. The path to the tiff file to read.
Which frames do you want to read. Default all. To read the 2nd and 7th frames, use frames = c(2, 7).
frames = c(2, 7)
Logical. Should the TIFF tags be translated to human-readable strings? E.g. Compression = 1 becomes Compression = "none".
Compression = 1
Compression = "none"
Simon Urbanek, Kent Johnson, Rory Nolan.
read_tif()
read_tags(system.file("img", "Rlogo.tif", package = "ijtiff"))
Run the code above in your browser using DataLab