@monogrid/gainmap-js / decode / extractISO
extractISO(input): GainMapMetadata | undefined
input
GainMapMetadata
undefined
Defined in: src/decode/shared/utils/extractISO.ts:19
Extracts ISO 21496-1 gain map metadata from a JPEG file
Looks for APP2 segments carrying the ISO 21496-1 namespace, skipping the version-only segment stored in the primary image.
0xFF 0xE2 cannot appear inside entropy-coded data, so a byte scan is safe.
0xFF 0xE2
Uint8Array
an Uint8Array containing an encoded JPEG file
GainMapMetadata | undefined
the parsed metadata or undefined if no supported ISO 21496-1 metadata is found
There was an error while loading. Please reload this page.