Comment 18 for bug 1677578

That was done on Xenial
On Zesty I run into an issue loading the image.
Uncaught ImagickException: Invalid IHDR data `/usr/share/backgrounds/y.png' @ error/png.c/MagickPNGErrorHandler/1630 in /var/www/html/index.php:18

Seems to be similar to
And a check on too large images applies here as well.

So for now lets assume a newer ImageMagick will refuse to load it as I see it here, but an older one works.
The "problem" as I said is that it can exceed the php-cgi allocation anyway.

I'll try to summarize a howto trigger in the next post as I'd tihnk we have to report that to upstream.