Skip to content

Create only barcode without Text using Code39? #253

Description

@Rapid1898-code

Hello - create a barcode using the following code:

from barcode import Code39
from barcode.writer import ImageWriter
with open("somefile.png", "wb") as f:
  Code39(str(5234), writer=ImageWriter()).write(f)

Generally this works fine - but is there any way so only the barcode without the text under it is outputted?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions