High-performance ICC profile and color management tools compiled from ICCMAX reference libraries into WebAssembly.
npm install iccdev
// Import a module
import { IccToXml } from 'iccdev';
// Convert ICC binary to XML
const response = await fetch('./Testing/sRGB_v4_ICC_preference.icc');
const buffer = await response.arrayBuffer();
const xml = await IccToXml(buffer);
console.log(xml);