Original message (verbatim)
Image width cannot be greater than %d pixels.
Placeholders such as %s / %d are kept verbatim from the engine source and are not replaced with concrete values.
Trigger
Calling Image.resize or creating an image whose width exceeds the engine MAX_WIDTH; height and total pixels have their own caps.
Typical cause
Image::resize checks p_width > MAX_WIDTH; beyond the cap it ERR_FAIL_COND_MSG and keeps the original image size.
Step-by-step fix
- Lower the target width and height to stay within the engine limits.
- Split or downscale very large images instead of creating an oversized image at once.
- Confirm the source image was not scaled up abnormally; also check the height and total-pixel caps.
Source links
Per-entry sources and capture date are listed at /sources#G27.
Related errors
Related Godot errors
Need an offline quick-reference checklist?
Atlas error library Pro pack: 123 error references (110 single + 13 merged) plus a quick-fix guide, $19 one-time purchase, delivered as electronic files.
Back to the all-errors index Checkout and buy the Pro pack — $19.00