A fast, space-efficient lookup table for programmable logic devices in which the write decoder, read decoder and memory block of the LUT are modified to improve performance while providing a highly efficient layout. A control portion performs control so that the driving of the second conveying roller pair is stopped and the second conveying roller pair is separated in timing in which the first conveying roller pair is switched from forward driving to reverse driving. The transfer bias is turned off at the end of printing at T1 and does not lower the surface potential after this. Searching for a red eye region in an image in which it is determined that a probability of a red eye region occurring is high, and determination of a correction parameter for the red eye region are automatically carried out by a computer.