-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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" error is too vague #9351
Comments
Please do provide an example even if it only happens when building. This helps us track down the source of the bug. |
Hello @tmcw. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with |
I'll try - the problem is that, because this error is not specific, I can't figure out what file is triggering it so I can't just use that for a repro. I did file a PR at #9352. |
This comment was marked as outdated.
This comment was marked as outdated.
Added a stackblitz example. This is triggered by sharp trying to process a gif. |
This error is from Sharp, it's a bit of a weird one, typically happens on large images or animated ones with many pages |
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
When I start importing content into Astro I get the error:
Which image? I have many images. Astro probably knows which one, and it should tell me.
What's the expected result?
The error message is instructive and identifies the file that caused the error
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-bvk5u3?file=src%2Fcontent%2Fblog%2Ffirst-post.md
Participation
The text was updated successfully, but these errors were encountered: