if you just change the suffix of the picture ,you will get this error in the command > ValueError: invalid PNG header you should change the picture through the professional picture Processing software