file_put_contents() is issuing an error when trying to export an image

前端 未结 4 961
攒了一身酷
攒了一身酷 2021-01-19 20:36

I have created an image by copying a number of images into a new one. In the last step of my program, I am trying to export this file into a folder.

The code is as

4条回答
  •  一向
    一向 (楼主)
    2021-01-19 20:48

    Just replaced "file_put_contents" with "imagejpeg($rotate, $file_new);"

提交回复
热议问题