An image forming apparatus and method capable of decompressing and
compressing image data. More specifically, the apparatus and method
include decompressing first compressed image data, processing the
decompressed image data, selecting from among a plurality of quantization
tables a quantization table providing a compression ratio lower than a
compression ratio of the first compressed image data, and compressing the
processed image data.