Creating/modifying images in JavaScript

后端 未结 7 1737
刺人心
刺人心 2020-12-11 05:38

Is it possible to dynamically create and modify images on a per pixel level in JavaScript (on client side)? Or has this to be done with ser

7条回答
  •  攒了一身酷
    2020-12-11 05:42

    This has to be done on the server side. One thing you might look at doing is allowing all the editing to go on client side, and then in the end POST the final image (via AJAX) to the server to allow it to return it to you as the correct MIME type, and correctly packed.

提交回复
热议问题