R
R
Roman Rakzin2017-07-01 19:33:22
JavaScript
Roman Rakzin, 2017-07-01 19:33:22

How to implement cropping a photo with a choice of a place in a photo?

I want, as in the social. networks, crop photos and choose an avatar.
That is, the user selects a photo, points to areas, then the photo is loaded and the server crops the photo, making a reduced photo, say 50 * 50 px and a little more - 100 * 100 from the area that the user specified.
How to implement this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vahe, 2017-07-01
@vahe_2000

use canvas

T
ThunderCat, 2017-07-01
@ThunderCat

he knows

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question