diff --git a/README.md b/README.md index 6177aad..66ba7c5 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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) diff --git a/media/grumpy_floydsteinberg.png b/media/grumpy_floydsteinberg.png deleted file mode 100644 index f6f489e..0000000 Binary files a/media/grumpy_floydsteinberg.png and /dev/null differ diff --git a/media/grumpy_halftone.png b/media/grumpy_halftone.png deleted file mode 100644 index 6e5d758..0000000 Binary files a/media/grumpy_halftone.png and /dev/null differ diff --git a/media/grumpy_mean_threshold.png b/media/grumpy_mean_threshold.png deleted file mode 100644 index ca5cd44..0000000 Binary files a/media/grumpy_mean_threshold.png and /dev/null differ diff --git a/media/grumpyatkinsonexample.png b/media/grumpyatkinsonexample.png new file mode 100644 index 0000000..70df43c Binary files /dev/null and b/media/grumpyatkinsonexample.png differ diff --git a/media/grumpyfloydsteinbergexample.png b/media/grumpyfloydsteinbergexample.png new file mode 100644 index 0000000..27f4d91 Binary files /dev/null and b/media/grumpyfloydsteinbergexample.png differ diff --git a/media/grumpyhalftone.png b/media/grumpyhalftone.png new file mode 100644 index 0000000..edb4a17 Binary files /dev/null and b/media/grumpyhalftone.png differ diff --git a/media/grumpymeanthreshold.png b/media/grumpymeanthreshold.png new file mode 100644 index 0000000..935b362 Binary files /dev/null and b/media/grumpymeanthreshold.png differ diff --git a/media/grumpynone.png b/media/grumpynone.png new file mode 100644 index 0000000..6f9aa49 Binary files /dev/null and b/media/grumpynone.png differ