Add contrast correction
This commit is contained in:
parent
1735e468aa
commit
80b16f260e
@ -177,7 +177,7 @@ class Printer(object):
|
||||
def process_image(self, path):
|
||||
brightness_factor = 1.5 # Used only if image is too dark
|
||||
brightness_threshold = 150 # Brightness threshold (0–255)
|
||||
contrast_factor = 0.8 # Less than 1.0 = lower contrast
|
||||
contrast_factor = 1.2 # Less than 1.0 = lower contrast
|
||||
max_width = 575
|
||||
max_height = 1000
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user