(4 bytes per pixel) x (a lot of pixels) = a lot of memory
We should prompt the user to add a resize step, as well as one of:
- Refuse to display the image, and instead show a message like "The image is too large to preview"
- Show a scaled-down version of the image and show the scale factor (1/2 size, 1/4 size, 1/8 size, ...)