Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuskiurhil authored Feb 2, 2022
1 parent f4675a3 commit dbed0fb
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ A Python3 based Barcode Generator
* [Planned Features](#updates)

## General info
Barcode-Generator is a **PythonScript** that takes a Value, formats it to a string and turns it into a Barcode

![grafik](https://user-images.githubusercontent.com/79027579/152145825-975fe94a-7363-4656-a01a-458d71f83947.png)
![grafik](https://user-images.githubusercontent.com/79027579/152145930-2443db9a-d50a-429d-b6a7-aa542a3d6e96.png)

Barcode-Generator is a **PythonScript** that takes Values, formats them to a string and turns them into Barcodes

* Current Support:
- Code128
Expand All @@ -24,23 +28,25 @@ Download the above mentioned libraries with pip.

* Example "pip install PySimpleGUI" or "pip3 install PySimpleGUI" depending on your version of Python.

To run the script, simply put the "code128.py" file in an accessible location and open it with your terminal.
To run the script, simply put the "barcodegen.py" file in an accessible location and open it with your terminal.

* Example $BASH: *"python3 /home/"user"/Desktop/code128.py"*

Then just input your Value (eg. "12345"), hit "Create Barcode" and the Script will create a .png file of your barcode.
Then just input your Value (eg. "12345", multiple Values can be seperated with a comma eg. "12345,23456,34567"), hit "Create Barcode(s)" and the Script will create a .png file of your barcodes.
If you require the Barcode to be a different size, feel free to edit the code.

Change the following lines:
{"module_width":0.35, "module_height":16, "font_size": 25, "text_distance": 0.85, "quiet_zone": 0})

and

dsize=(158,100) on line 34 where X, Y is the width and height of the final image.
dsize=(158,100) where X, Y is the width and height of the final image.

## Planned Features

The planned features are in no particular order

* Ability to select which Barcode Format to use
* Ability to select size of output image
* Ability to select filetype of output image (.jpg, .gif, etc.)
* Ability to select desired resolution of output barcode

0 comments on commit dbed0fb

Please sign in to comment.