Lossless Compression of Continuous Tone Images