cpp_writeIFD: IFD Tag Writer

View source: R/RcppExports.R

cpp_writeIFDR Documentation

IFD Tag Writer

Description

Writes TIFF IFD (Image Field Directory).

Arguments

img

RawVector, an encoded image. It should contain 'dims', 'what' and 'comp' attributes.

tags

List, extra tags to be included to IFD. Expecting a list whose sub-elements are list containing:
-'tag' uint16_t, tag number, it should be [1-65535],
-'typ' uint16_t typ number, it should be [1-12],
-'map' SEXP vector of values to write, it should not be empty and should be even for 'typ' 5 and 10.

offset

uint32_t, position of the IFD beginning. Default is 0.

endianness

std::string, "little" or "big".

rgb

bool, whether to write channels as rgb. Default is false.

last

bool, whether IFD is the last one. Default is false.

verbose

bool, whether to display information (use for debugging purpose). Default is false.

Value

a RawVector


gitdemont/IFC documentation built on Feb. 20, 2025, 12:55 a.m.