The image processing apparatus transforms orthogonal transform coefficients into
a predetermined number of bits for each spatial frequency, rearranges quantized
data for each spatial frequency to an arrangement with spatial frequency band portions,
thereby generates bit serial data that the quantized data of the same spatial frequency
band exists successively over adjacent blocks, and compresses the bit serial data.