javascript - How does the front end implement cutting and uploading part of an image? How about uploading via WeChat or QQ? What technology is used?
女神的闺蜜爱上我
女神的闺蜜爱上我 2017-07-05 10:55:59
0
3
1000

How does the front-end realize cutting and uploading part of a picture? How about uploading via WeChat or QQ? What technology is used

女神的闺蜜爱上我
女神的闺蜜爱上我

reply all(3)
扔个三星炸死你

This problem is divided into two parts: front and back.

On the Web front-end, you can use JCrop to do image cropping. In fact, it is not real cropping, but selecting an area on the image. The real cropping is done by the backend.
JCrop DEMO: http://deepliquid.com/project...

In the backend, different languages ​​have APIs for image cropping. You can check the relevant documents. In addition, you can also use some cloud storage cropping functions. Alibaba Cloud and Qiniu have image cropping functions, such as Qiniu: https://developer.qiniu.com/d...

阿神

You can implement related operations through drawImage of canvas

世界只因有你

Recommend this library: PhotoClip

Demo address: http://htmlpreview.github.io/...
The specific effect is as follows:

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template