image adjustment for page mask