Closed CDeslatte2023 closed 1 year ago
3.11.1
treepoem 3.18.0
Is there any way to make the text clearer (more crisp) once rendered? Included a saved PNG as example.
image = treepoem.generate_barcode(barcode_type="sscc18", data=sscc_preliminary, options={'includetext': True, 'textfont': 'Times-Roman'}) data = io.BytesIO() image.convert("1").save(data,"PNG") image.save("barcode.png")
Sorry, I don't use this library myself atm. I am not sure if there's any way. Try checking the upstream BWIPP documentation.
Python Version
3.11.1
Package Version
treepoem 3.18.0
Description
Is there any way to make the text clearer (more crisp) once rendered? Included a saved PNG as example.
image = treepoem.generate_barcode(barcode_type="sscc18", data=sscc_preliminary, options={'includetext': True, 'textfont': 'Times-Roman'}) data = io.BytesIO() image.convert("1").save(data,"PNG") image.save("barcode.png")