An image forming device includes a layouter for generating layout data for
a document file; a renderer for generating rendering data for the
document file; a data control section connected to the layouter and the
renderer; and a print section. The data control section includes a
detector for detecting location information on image data when the data
control section receives a request for dimensions information on the
image data from the layouter and when the data control section receives a
request for the image data from the renderer; an acquirer for acquiring
the requested image data and the dimensions information on the image data
on the basis of the location information detected by the detector; and an
output controller for controlling so that the document file is output to
the layouter and the image data and the dimensions information on the
image data acquired by the acquirer are outputted to the renderer and the
layouter, respectively.