An image processing apparatus which performs color transformation and
compression/decompression simultaneously on image data so that the number
of blocks to be transformed with the color transformation can be reduced
and the processing speed can be improved without spoiling the apparent
image quality.