As of 3.1.1, our minimum version, these codecs are now required by default for a successful installation, effectively solving the problem of Pillow installed without libjpeg/libpng.