Disclosed is an image forming apparatus to form an image based on an XPS
file including, a storage section; and a control section to refer to
information concerning usage frequency of each individual file stored in
the XPS file to judge whether or not a data decompression on the
individual file needs to be performed and to perform or not to perform
the data decompression on the individual file according to a judgment
result to store the individual file in the storage section.