I think giving a brief explanation is useful. Maybe "Sorry! We can't generate images that large!" or something. That explains what's going on without going too deep on the max dimensions and whatnot.
"Our program can't withstand images of that magnitude!"