Get image size from handler

前端 未结 2 870
说谎
说谎 2021-01-12 23:25

I\'m creating an image editor in JS/PHP, but now I\'m having trouble. First of all, I load the image from the database (load a blob with imagecreatefromstring). Then I apply

2条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-12 23:53

    I doubt you can since php gd image object is a generic object, without considerations on the compression that will be used for storage (png/jpg/bmp ...)

提交回复
热议问题