Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Image size limit #8

Open
foomoon opened this issue Jun 17, 2022 · 3 comments
Open

Bug: Image size limit #8

foomoon opened this issue Jun 17, 2022 · 3 comments

Comments

@foomoon
Copy link

foomoon commented Jun 17, 2022

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)

@tomayac
Copy link
Owner

tomayac commented Jun 17, 2022

Yes, I have also noticed this. I wonder if @sylmroz who added direct color support has an idea how to fix this?

@damiano216
Copy link

Hello, is there a solution to this bug? I am having the same issue

@tomayac
Copy link
Owner

tomayac commented Sep 14, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants