Fix task failure when loading wikipedia.

There is still an issue with alpha display, so there is
likely a problem elsewhere, but this at least allows the
page to load for now (ref #2554).
Merge pull request #3195 from glennw/image-format

Fix task failure when loading wikipedia.