Original message (verbatim)
Cannot resize in compressed image formats.
Placeholders such as %s / %d are kept verbatim from the engine source and are not replaced with concrete values.
Trigger
resize is called on an Image still in a compressed format (such as WebP or a compressed import state), and the engine refuses to scale it before decompression.
Typical cause
In a compressed format the pixels are not decoded; the resize branch detects the compressed flag and calls ERR_FAIL_MSG directly.
Step-by-step fix
- Decompress or convert the image to an uncompressed format before resizing.
- Confirm the import settings do not force a compressed format.
- Generate thumbnails in the import pipeline instead of resizing a compressed image at runtime.
Source links
Per-entry sources and capture date are listed at /sources#G31.
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