thresholder.py

Python Imaging Library (Pillow fork)

Install

All systems
curl cmd.cat/thresholder.py.sh
Debian Debian
apt-get install python-pil
Ubuntu
apt-get install python-pil
image/svg+xml Kali Linux
apt-get install python-pil
Windows (WSL2)
sudo apt-get update sudo apt-get install python-pil
Raspbian
apt-get install python-pil

python-pil

Python Imaging Library (Pillow fork)

The Python Imaging Library (PIL) adds an image object to your Python interpreter. You can load images from a variety of file formats, and apply a rich set of image operations to them. Image Objects: o Bilevel, greyscale, palette, true colour (RGB), true colour with transparency (RGBA). o colour separation (CMYK). o Copy, cut, paste operations. o Flip, transpose, resize, rotate, and arbitrary affine transforms. o Transparency operations. o Channel and point operations. o Colour transforms, including matrix operations. o Image enhancement, including convolution filters. File Formats: o Full (Open/Load/Save): BMP, EPS (with ghostscript), GIF, IM, JPEG, MSP, PDF, PNG, PPM, TIFF, XBM. o Read only (Open/Load): ARG, CUR, DCX, FLI, FPX, GBR, GD, ICO, IMT, IPTC, MCIDAS, MPEG, PhotoCD, PCX, PIXAR, PSD, TGA, SGI, SUN, TGA, WMF, XPM. o Save only: PDF, EPS (without ghostscript).