Made image decoding seemless.