The document discusses methods and apparatuses for compressing digital image data. It describes performing a wavelet transform on each pixel to generate coefficients, encoding the coefficients into a bit stream based on a target rate, and iteratively encoding coefficients of sub-bands based on a threshold. The encoded data can then be transmitted and decoded. The methods allow for efficient compression of image data for transmission over networks.