Disclosed is a method of exposure-curing an ink layer formed on a recording medium. A code amount setting part sets a target code amount of an output image based on the type of the decoded image. A starting location of a description of \u201cABCDEFGHIJKL\u201d is specified by an X coordinate and a Y coordinate described in the file.