pamditherbw

Apply dithering to a greyscale image, i.e. turn it into a pattern of black and white pixels that look the same as the original greyscale. More information: <https://netpbm.sourceforge.net/doc/pamditherbw.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y netpbm
Ubuntu
RUN apt-get update && \ apt-get install -y netpbm
Arch Arch Linux
RUN pacman -S --noconfirm netpbm
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y netpbm
CentOS
RUN yum install -y netpbm-progs
Fedora
RUN dnf install -y netpbm-progs
Raspbian
RUN apt-get update && \ apt-get install -y netpbm
click the source code to copy install pamditherbw on any operating system with command-not-found.com