Pillow is the default choice: open, edit, convert and save PNG, read and write text chunks, APNG animation.
pypng is pure Python with no dependencies and gives exact control over bit depth and rows. Slower than Pillow.
OpenCV (opencv-python) loads PNG into NumPy arrays for computer vision work. Note it uses BGR channel order.
OpenCVOpenCV (opencv-python) reads PNG images into NumPy arrays. How to load PNG with alpha and 16-bit depth, save PNG with a compression level.
PillowPillow is the standard Python imaging library. How to open, resize and save PNG files, read and write PNG text chunks, optimize file size, convert to JPEG.
pypngpypng is a pure Python PNG reader and writer with no dependencies. How to read PNG rows, write 8-bit and 16-bit PNG files, write palette images.