JPEG uses DCT, quantization, and entropy coding to provide lossy compression of images. It can operate in several modes, including sequential, lossless, progressive, and hierarchical. Sequential mode encodes an image in a single left-to-right, top-to-bottom scan. Lossless mode uses predictive coding to encode images without loss. Progressive mode transmits an initial coarse version that is progressively improved over multiple transmissions.