84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
It is a certain width and height in the middle of a large picture cropped. The processed picture is on the server, such as ‘https://img.biaoqing.com/work...’
I have used GraphicsMagick and it is very good, but it has native dependencies and requires additional software to be installed.
Later I learned about a library written in pure JS, jimp, but I didn’t have a chance to use it.
Yes, you need to use some packages http://m.blog.csdn.net/zhcy_8...
If you only need to crop (Crop) and resize (Resize), and do not need to use Canvas to draw, graphicMagic is enough:http://aheckmann.github.io/gm/
I have used GraphicsMagick and it is very good, but it has native dependencies and requires additional software to be installed.
Later I learned about a library written in pure JS, jimp, but I didn’t have a chance to use it.
Yes, you need to use some packages http://m.blog.csdn.net/zhcy_8...
If you only need to crop (Crop) and resize (Resize), and do not need to use Canvas to draw, graphicMagic is enough:
http://aheckmann.github.io/gm/