Abstract: 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.