You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Jimp, I resize images on my local computer and on a live application. When I try to resize images with high dimensions (40k*40k or 100mb), I encounter a few errors. When calculating the total size, 2 different values are taken as a basis. These are the maxMemoryUsageInMB and maxResolutionInMP values. Exceeding any of these values returns an error code:::
maxMemoryUsageInMB::
maxResolutionInMP::
And sometimes when getting some of these errors I can see it coming due to the amount of RAM being exceeded. I guess this is happening because of NodeJS runtime.
I have a few questions.
Up to what dimensions can I resize an image?
What dimensions should the pixel pitches (10px10px -- 35000px35000px) of an image I want to resize be?
To test this situation, try to reconstruct a 1800x1800 pixel image with 36000*36000 dimensions. In such a scenario it will return error codes.
I'm not really sure! It would be awesome if you could find out and make a PR to update the docs with your findings. If it could be contained as a script that we could re-run as improvements are made that would be 🔥
With Jimp, I resize images on my local computer and on a live application. When I try to resize images with high dimensions (40k*40k or 100mb), I encounter a few errors. When calculating the total size, 2 different values are taken as a basis. These are the maxMemoryUsageInMB and maxResolutionInMP values. Exceeding any of these values returns an error code:::
maxMemoryUsageInMB::
maxResolutionInMP::
And sometimes when getting some of these errors I can see it coming due to the amount of RAM being exceeded. I guess this is happening because of NodeJS runtime.
I have a few questions.
To test this situation, try to reconstruct a 1800x1800 pixel image with 36000*36000 dimensions. In such a scenario it will return error codes.
The text was updated successfully, but these errors were encountered: