pyguymer3.image.optipng

pyguymer3.image.optipng(fname, /, *, optipngPath=None, pool=None, timeout=60.0)[source]

“optipng” does not modify, and it does not touch, the image even if it cannot make it smaller, therefore it is safe to keep on running “optipng” on the same PNG over and over again.