2(4 digits) tops and cut,Google the client part and the server
Kyleigh_Hills answered on July 9th 19 at 11:11
There are 2 ways:
1. On the server (GD2, imagick): from customer are only the coordinates of the vertices of the main diagonal of the rectangular region. The transfer of coordinates - to validate CROP-a.
2. On the client (canvas): using the canvas all trimmed and sent. Send the image via AJAX/POST.
3. Code - write yourself.