Skip to content

Commit

Permalink
Merge pull request #76 from litlnemo/readmefixes
Browse files Browse the repository at this point in the history
Updates to readme
  • Loading branch information
rbaron authored Aug 27, 2024
2 parents f99c610 + 9206f11 commit a5e00c8
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ prints an image on your cat thermal printer
positional arguments:
filename

optional arguments:
options:
-h, --help show this help message and exit
-l {debug,info,warn,error}, --log-level {debug,info,warn,error}
-b {mean-threshold,floyd-steinberg,halftone,none}, --img-binarization-algo {mean-threshold,floyd-steinberg,halftone,none}
-b {mean-threshold,floyd-steinberg,atkinson,halftone,none}, --img-binarization-algo {mean-threshold,floyd-steinberg,atkinson,halftone,none}
Which image binarization algorithm to use. If 'none'
is used, no binarization will be used. In this case
the image has to have a width of 384 px.
Expand Down Expand Up @@ -68,11 +68,23 @@ optional arguments:
# Different Algorithms
Mean Threshold:
![Mean threshold](./media/grumpy_mean_threshold.png)
**Mean Threshold:**
Floyd Steinberg (default)
![Floyd Steinberg](./media/grumpy_floydsteinberg.png)
![Mean threshold](./media/grumpymeanthreshold.png)
Halftone dithering
![Halftone](./media/grumpy_halftone.png)
**Floyd Steinberg (default):**
![Floyd Steinberg](./media/grumpyfloydsteinbergexample.png)
**Atkinson:**
![Atkinson](./media/grumpyatkinsonexample.png)
**Halftone dithering:**
![Halftone](./media/grumpyhalftone.png)
**None (image must be 384px wide):**
![None](./media/grumpynone.png)
Binary file removed media/grumpy_floydsteinberg.png
Binary file not shown.
Binary file removed media/grumpy_halftone.png
Binary file not shown.
Binary file removed media/grumpy_mean_threshold.png
Binary file not shown.
Binary file added media/grumpyatkinsonexample.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/grumpyfloydsteinbergexample.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/grumpyhalftone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/grumpymeanthreshold.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added media/grumpynone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a5e00c8

Please sign in to comment.