The present invention relates to an arrangement and a method for ensuring quality during scanning /
copying of images / documents. The method includes the steps of feeding in the page(s) that are to be scanned / copied. Thereafter, a first measurement of outer characteristics is performed with respect to
skew, double-feeding / overlapping, deviating shape, and geometric deformation for calculating a first quality measure Q1. Thereafter, the first quality measure Q1 is compared with a predetermined first quality limit Q+1. If Q1>=Q+1, then an automatic adjustment is performed in the form of a
geometric transformation in order to improve the first quality measure Q1. Thereafter, the contents of the page are analyzed with respect to structure and objects in order to calculate a second quality measure Q2, which is compared with a predetermined second quality limit Q+2. If Q2>=Q+2, then image
improvement methods are performed on each identified object. Thereafter, an
information analysis of each page is performed, followed by a comparison with pre-defined form / document types for calculating a third quality measure Q3, which is compared with a predetermined third quality limit Q+3. If Q3>=Q3, then a fourth quality measure Q is calculated, which is an overall quality measure that is compared with a predetermined fourth quality limit Q+. If Q>=Q+, then pre-
processing is performed in order to achieve a correct output format, depending on pre-defined information about the printer / output unit.