Function: extractIccProfileFromJpeg()
extractIccProfileFromJpeg(jpeg): Uint8Array<ArrayBufferLike> | null
Finds the first APP2 segment with ICC_PROFILE and returns the raw ICC profile bytes (no APP2 header).
Parameters
jpeg
Uint8Array
Returns
Uint8Array<ArrayBufferLike> | null