jrac
jrac copied to clipboard
How can I get the image/data of the cropped/resized area?
Hi, Is there a way to read back the cropped image using JS? I can see I can read the coordinates but I'd like the processed image.
Thanks, Corneliu.
I think you'd need to do it on your favorite language or any image processing like imagemagick using those coordinates given by jrac.
One way will be to use html5 canvas. Use use canvas drawImage and getImageData methods
Hello, yes jrac only output crop/dimension coordinates.
Cheers, Cedric