Patent ID: 8600181

Claim:
An apparatus comprising at least a processor, a memory in communication with said processor, and computer coded instructions stored in said memory which, when executed by the processor, cause the apparatus to perform: performing a block transform on blocks of pixel portions of image data; evaluating resulting coefficients from each transform for flatness; wherein in the instance of a flat transform, quantizing the result from the block transform according to a first quantizing scheme, by arranging the quantized bits into N−1 bits according to a first image block arranging scheme, where N>0 is an integer, and causing an indicator to be stored in the block indicating that the image block is flat, and wherein in the instance of a not flat transform, quantizing the result from the block transform according to a second quantizing scheme, by arranging the quantized bits into N−1 bits according to a second image block arranging scheme, and causing an indicator to be stored in the block indicating that the image block is not flat; and encoding said image data by performing with a processor writing the resulting N bits into a compression data structure.