Open HironTez opened 1 year ago
Can you share a Minimal, Reproducible Example?
@LinusU Sure. As i mentioned it's just the Google Chrome icon. That's the snippet that results the error:
import { extractIcon } from "@inithink/exe-icon-extractor";
import icoToPng from "ico-to-png";
const icon = extractIcon("C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe", "large");
icoToPng(icon, 256).then((png) => console.log(png));
It works fine with other apps
Hi, thanks for the tool. I'm having trouble decoding Google Chrome's ico buffer. The size of the array is larger than node.js can handle. This is the error message: