An image processing apparatus has a classification unit and a layer image
data generation unit. The classification unit classifies respective drawn
elements into a plurality of element types. The layer image data
generation unit generates layer image data which include the drawn
elements of the respective element types and in which respective drawing
order is regulated. The layer image data generation unit generates the
layer image data based on the drawing order.