CBR: decode images on demand for quicker loading