getFullTag {IFC}R Documentation

Image Field Directory Full Tag Retrieval

Description

Retrieves full tag value from IFDs (Image Field Directory) extracted by getIFD.

Usage

getFullTag(IFD, which = 1, tag = "256", raw = FALSE)

Arguments

IFD

an object of class 'IFC_ifd_list' extracted by getIFD.

which

scalar, integer (index) or the name of 'IFD' sub-element to extract 'tag' from. Default is 1 to extract 'tag' from the first member of 'IFD'.

tag

scalar, integer (index) or the name of the IFD[[which]] of the desired 'tag'.

raw

whether to return tag as a raw vector. Default is FALSE.

Details

It may be usefull to extract all information contained in a specific 'tag' since getIFD is designed to be run with argument trunc_bytes so as to only extract essential bytes to run faster and save memory. Nonetheless, thanks to getFullTag users will still be able to get full extraction of specific tag.

Value

the full value of the corresponding IFD tag.

Source

TIFF 6.0 specifications archived from web https://web.archive.org/web/20211209104854/https://www.adobe.io/open/standards/TIFF.html


[Package IFC version 0.2.1 Index]