Featuring high compression ratio, progressive transmission, pre-designated file size and other fabulous characteristics, JPEG2000 has become an ideal alternative to JPEG JPEG2000 provides a unified framework for both lossy and lossless coding, thus rending possible a progressive transmission up to lossless quality. In a network context, however, the progressive transmission in question lacks flexibility. For example, a user is unable to save the already transmitted part of an image to a lossy file directly. As an excellent dictionary-based compression algorithm, LZMA has inherited and furthered the advantages of LZ77 algorithm and DEFLATE algorithm by incorporating range encoding and other technologies. To enhance the flexibility of JPEG2000, a lossless coding scheme is proposed in this paper that combines JPEG2000 lossy coding with LZMA. In that scheme, a complementary file format is added to JPEG2000 lossy coding so that de facto lossless coding can be achieved. The complementary file contains the LZMA-compressed difference between the uncompressed image and the reconstructed JPEG2000 lossy image. In testing experiments, the aforementioned lossless coding scheme achieves a compression ratio comparable to JPEG2000 lossless coding, attaining the goal of making JPEG2000 more flexible at a low cost. The lossless coding scheme proposed in this paper tends to find application in medical imaging, satellite imaging and other fields requiring extra high quality images. |