Basicly i’m trying to create image cropping script, and it’s almost done, here is my script:
But i can’t figure out how to make crop_area to have clear background without that dark color, can any one be so kind and help me out a bit? 🙂
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
you need to create 5 divs to do that – impossible with just one – unless you used
canvaselement on which you’d cut out the square representing the selected area.something like that 🙂
and then as you change the size / position of selected area you need to recalculate all the positions of the divs to match the target region for cropping