Implemented ScanImageOverScale (not tested).