change scaling
This commit is contained in:
parent
895c9e69c4
commit
c6dcb50bbb
1 changed files with 2 additions and 2 deletions
4
app.py
4
app.py
|
|
@ -32,7 +32,7 @@ def make_barcode_image(data: str, symb: str) -> Image.Image:
|
|||
barcode_type="code128",
|
||||
data=data,
|
||||
options={"includetext": True, "height": "0.3"},
|
||||
scale=3,
|
||||
scale=2,
|
||||
)
|
||||
else: # rectangular DataMatrix
|
||||
img = treepoem.generate_barcode(
|
||||
|
|
@ -40,7 +40,7 @@ def make_barcode_image(data: str, symb: str) -> Image.Image:
|
|||
data=data,
|
||||
options={},
|
||||
# options={"columns": "16", "rows": "48"},
|
||||
scale=3,
|
||||
scale=2,
|
||||
)
|
||||
return img.convert("1")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue