Learn R Programming

IFC (version 0.2.1)

getFullTag: 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)

Value

the full value of the corresponding IFD tag.

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.