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

Allow usage of higher resolution images #624

Open
diblaze opened this issue Aug 3, 2023 · 0 comments
Open

Allow usage of higher resolution images #624

diblaze opened this issue Aug 3, 2023 · 0 comments

Comments

@diblaze
Copy link

diblaze commented Aug 3, 2023

We are trying to use some images that have a higher MP than 100, so the line below will not work.

https://github.com/image-js/image-js/blob/d0b4e00f37ea01510cb9b4422c95d5285f3c8bab/src/image/core/load.js#L155C2-L155C80 - const jpeg = decodeJpeg(data, { useTArray: true, maxMemoryUsageInMB: 1024 });

I recommend allowing the usage of higher MP images, by allowing parameters to be passed for maxMemoryUsageInMB and maxResolutionInMP

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

1 participant