Added image decoding