Skip to content

Input image exceeds pixel limit #2373

@mvn-luanvu-hn

Description

@mvn-luanvu-hn

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 by npm view sharp dist-tags.latest?

=> I'm using sharp@0.26.0. 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.

[Error: Input image exceeds pixel limit]

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions