摘要 |
An image processing apparatus includes: a decoding unit; a printing unit; an error detecting unit; and a control unit. The decoding unit decodes code data, which is obtained by encoding image data with a variable-length code on a line-to-line basis, into the image data. The printing unit performs a printing process on the basis of the image data which is decoded from the code data by the decoding unit. The error detecting unit compares a decoding amount indicating the amount of code data decoded in a predetermined range by the decoding unit with a predetermined decoding amount and outputs an error signal when the decoding amount is different from the predetermined decoding amount. The control unit controls the printing unit to stop the printing process when the error signal is output from the error detecting unit. |