A color image processing device includes an acquiring unit that acquires
sample values of an original document at a prescribed cycle from a
plurality of line sensors provided in parallel with a main scanning
direction at a prescribed interval between one another, a storage unit
having a capacity that stores the sample values for a prescribed number
of samplings and a transferring unit that transfers relatively the
original document and sampling positions of the line sensors. A
correction unit corrects by carrying out a gap correction process for
correcting a gap of the sampling positions of each of the line sensors in
accordance with the sample values stored in the storage unit and an
instructing unit instructs the transferring unit. In accordance with a
rate of magnification for scanning the original document and the capacity
of the storage unit, the instructing unit determines whether the gap
correction process according to the rate of magnification can be carried
out. When the gap correction process can be carried out, the instructing
unit instructs the transferring unit to transfer at a correction speed so
that a sample value to be used for the gap correction process can be
acquired.