Skip to content

Sunbertrs/morsecode2barcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

morsecode2barcode

A little Python program to convert your morse code to a barcode-like graph.

To use this program, just easily set a few parameters before running.

Usage

  • --codes <segment1> <segment2> <...>

    • Required argument. Each segment should quote with quotation marks.
    • There also a format on distinguish between words and characters, like:
      • : A space to split a character.
      • /: A slash to split a word.
  • --border <integer number>

    • Optional, to set the border surround the barcode.
  • --height <integer number>

    • Optional, to set the height of the barcode.
  • --line-width <integer number>

    • Optional, to set the default width of the barcode.
    • A . will takes a default width, and - will takes double of default.
    • also takes double of default.
  • --separate-per-line <integer number>

    • Optional, to set spacing bwtween every segment of codes.
  • --output <file path or file name>.png

    • Optional, set where you want to save. By default, the output file name will be output.png.
    • You can also change .png to other format you like.

About

A little Python program to convert your morse code to a barcode-like graph.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages