Found this implementation of croping https://editphotosforfree.com/photoapps/online-photo-editor-and-collage-maker which is exactly what I want to use. But it looks like there is no example on the internet, which reproduces this functionality. Other cropping techniques in stack overflow and google searches have some principles of this implementation, but not the whole thing. Any ideas how to achieve this?
1
there is definitely no whole thing for that , the only way is to take example you been able to find and modify it , or do it from scratch , it is sad, but it is true.The trick is to set right cropX,cropY,height,width to the image ,accordingly to offsets to background image , which is clone of initial one