Creating an image without storing it as a local file

前端 未结 8 992
时光取名叫无心
时光取名叫无心 2020-12-01 08:45

Here\'s my situation - I want to create a resized jpeg image from a user uploaded image, and then send it to S3 for storage, but am looking to avoid writing the resized jpeg

8条回答
  •  抹茶落季
    2020-12-01 09:11

    The Imagemagick library will let you do that. There are plenty of PHP wrappers like this one around for it (there's even example code for what you want to do on that page ;) )

提交回复
热议问题