editTag | R Documentation |
Edits tag value in file IFDs (Image Field Directory).
editTag(IFD, which, tag, value, force = FALSE)
IFD |
an object of class 'IFC_ifd_list' extracted by |
which |
scalar, integer (index) or the name of 'IFD' sub-element to edit 'tag' to. |
tag |
scalar, integer (index) or the name of the desired 'tag' in IFD[[which]]. |
value |
value used to fill the 'tag'. For the moment only string is supported. |
force |
whether to force edition. Needed when 'tag' value already exceed 4 bytes. Default is |
/!\ file will be modified /!\
/!\ When 'force'
needs to be TRUE
, 'value' will be appended to file but former tag 'value' will still be present in file and not erased.
Will only work when 'tag' is present in TIFF file.
Will only work for TIFF files produced by IFC
It invisibly returns path of edited file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.