We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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 });
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
maxMemoryUsageInMB
maxResolutionInMP
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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
andmaxResolutionInMP
The text was updated successfully, but these errors were encountered: