diff --git a/app.py b/app.py index 2f79c12..1eccdac 100644 --- a/app.py +++ b/app.py @@ -41,7 +41,7 @@ def mm_for_px(px, dpi=DPI): @lru_cache(maxsize=256) def make_code128_exact( grocycode: str, - xdim_px: int = 3, # narrower bars reduce overall width; ~0.25mm at 300dpi + xdim_px: int = 2, # narrower bars reduce overall width; ~0.25mm at 300dpi dpi: int = DPI, ) -> Image.Image: code = Code128(grocycode, writer=ImageWriter())