An image processing device includes an image processing part configured to process
supplied image data, an image compression part configured to compress image data,
a data supply part configured to sequentially supply the image data to the image
processing part in a horizontal direction, the image data having a vertical data
size defined by adding the size of peripheral data to an integer multiple of the
vertical data size of a basic data size, a setting part configured to set the processing
operations of the image processing part and image compression part, a storage part
configured to store the image data, which is obtained by causing the image processing
part to process the image data, and a sending part configured to read out the image
data, for each basic data size and sequentially send the data to the image compression part.