Ultimate

X_IMAGE_DECODE_FAILED

Means

image bytes are malformed, truncated or internally inconsistent

Typical cause

a partial upload, a corrupted file, a header declaring no size, or a header that disagrees with the data that follows — a PNG stream that inflates past what its header's size needs is stopped at that bound

Fix

file <path> to confirm the type, then re-export the image and retry

Listed under Images

This page as markdown