If you use Pillow v10, the images generated by the python script do not work. Forcing a manal install or use of Pillow 9.5 fixes this.