Add cmdln option for max pixels in automatic scale
Add cmdln option for max pixels in automatic scale

The automatic scale selection resizes the images to be
in average below a certain pixel amount. This amount
can now be selected as a command line option.

flanggut/smvs,flanggut/smvs