resize scanner
add compact scanner option
Merge pull request #3093 from dvolk/rescale-scanner

resize scanner