Efficient lossless codec for still color images with backward coding of wavelet trees