Changes to margins

This commit is contained in:
mt 2019-11-02 17:59:00 +01:00
parent 9674e7bbe4
commit d96f435f58

View file

@ -327,7 +327,10 @@ class CentralManagement():
cmd = [ cmd = [
'sudo', 'scanimage', '-d', 'epkowa', '--format', 'jpeg', 'sudo', 'scanimage', '-d', 'epkowa', '--format', 'jpeg',
'--resolution=100', '-l','18','-t','30','-x',str(185), '--resolution=100', # lower res, faster (more powerful) scan & wipe
'-l','25' #y axis, margin from top of the scanner, hence increasing this, moves the scanned image upwards
,'-t','22', # x axis, margin from left side scanner (seen from the outside)
'-x',str(181),
'-y',str(245) '-y',str(245)
] ]
self.logger.info(f"{cmd}") self.logger.info(f"{cmd}")