pilfile

Python Imaging Library (Python3)

Install

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

python3-pil

Python Imaging Library (Python3)

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).