Skip to content

happypdf / getDefaultSRGBProfile

Function: getDefaultSRGBProfile()

ts
function getDefaultSRGBProfile(): Uint8Array;

Defined in: src/api/pdfa/srgbProfile.ts:78

Returns the raw bytes of the bundled sRGB IEC61966-2.1 ICC profile. The decoded result is cached, so repeated calls are cheap.

Returns

Uint8Array

MIT Licensed. A fork of pdf-lib.