Fix non-blob image decoding.

/cc @maethu