At the same time, the compression unit 214 adds information such as an ID, a color space, a Q table ID, and a data length, which indicates a position of the packet and a compression system (JPEG, vector quantization, or non-compression), to the packet and sets the information as a header.