更新时间:2023-11-30 12:38:16
当我对图像进行编码时,它将换行符放在行尾.此换行符会引起问题. Magento需要没有换行符的编码图像. 因此,请删除换行符,然后再次运行代码即可.
When i encode the image, it put the newline character at the end of line.This newline character create the problem. Magento needs the encoded image without the newline character. So remove the newline character and run the code again it will work.
对我有用!