-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Input image exceeds pixel limit #2373
Labels
Comments
Hi, did you see the https://sharp.pixelplumbing.com/api-constructor sharp(input, { limitInputPixels: ... })... |
@lovell |
1 task
delano
added a commit
to onetimesecret/docs.onetimesecret.com
that referenced
this issue
Sep 5, 2024
One of the images for the Sept UUX/UI blog post (the feedback gif) would not load. Turns out there an error: `[IPX_ERROR] Input image exceeds pixel limit` which lead to: lovell/sharp#2373 which mentioned: > Hi, did you see the `limitInputPixels` property of the constructor? > > https://sharp.pixelplumbing.com/api-constructor > > ```js > sharp(input, { limitInputPixels: ... })... > ``` Although I ended up just recreating the gif smaller. Signed-off-by: delano <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are you using the latest version? Is the version currently in use as reported by
npm ls sharp
the same as the latest version as reported bynpm view sharp dist-tags.latest
?=> I'm using [email protected]. It's the latest version.
What are the steps to reproduce?
=> When I passed buffer of image (18MB - 30000 × 19043 pixels), I encountered the following problem.
What is the expected behaviour?
=> No error
I found this issue #1381. But I could not find any option like
limitInputPixels
.What is the output of running
npx envinfo --binaries --system
?=> I'm running on Lambda with memory 2048 MB
The text was updated successfully, but these errors were encountered: