According to this invention, encoded data of a target data amount is generated by one image input operation while both lossless encoding and lossy encoding are adopted. For this purpose, an encoding sequence control unit controls a first encoding unit for lossy (JPEG) encoding, a second encoding unit...http://www.google.com/patents/US7454070?utm_source=gb-gplus-sharePatent US7454070 - Image encoding apparatus and method, computer program, and computer-readable storage medium