更改后运行
File "/www/server/panel/plugin/mfwatermark/mfwatermark_main.py", line 442, in <module>
print(main())
File "/www/server/panel/plugin/mfwatermark/mfwatermark_main.py", line 403, in main
rs = IMAGES().execute(cfg)
File "/www/server/panel/plugin/mfwatermark/mfwatermark_main.py", line 383, in execute
self.doing(fpath, cfg)
File "/www/server/panel/plugin/mfwatermark/mfwatermark_main.py", line 293, in doing
im = self.compress(fpath, cfg)
File "/www/server/panel/plugin/mfwatermark/mfwatermark_main.py", line 132, in compress
im.save(infile)
File "/usr/lib64/python2.7/site-packages/PIL/Image.py", line 1994, in save
save_handler(self, fp, filename)
File "/usr/lib64/python2.7/site-packages/PIL/JpegImagePlugin.py", line 622, in _save
raise IOError("cannot write mode %s as JPEG" % im.mode)
IOError: cannot write mode RGBA as JPEG |