esm-potrace-wasm
esm-potrace-wasm copied to clipboard
Bug: Image size limit
This library produces a "RangeError: offset is out of bounds" when loading LARGE images. I have not isolated the break point, but for reference this image will definitely cause the problem condition and I'm sure I could find examples where it occurs on images half that size. Changing input options does not fix the problem. (Using safari and chrome on mac)
Yes, I have also noticed this. I wonder if @sylmroz who added direct color support has an idea how to fix this?
Hello, is there a solution to this bug? I am having the same issue
Unfortunately not yet. If you have the cycles to investigate, this was introduced in https://github.com/tomayac/esm-potrace-wasm/pull/5/files, which added direct color support.