3

What kind of technology can I use to do the following operation? I don't wish to download additional plugin like active X and install Java.

After I open my webpage, I need to select any rectangle range using mouse, then clicking a button on the webpage I'd like to save the selected range to image.

Can JQuery do that?

Andrea Turri
  • 6,480
  • 7
  • 37
  • 63
  • Is the web page running on your domain, or do you mean arbitrary web sites? (I'm not sure whether it's possible either way, but the former is definitely more likely) – Pekka Dec 31 '11 at 12:42
  • Well, there is no way to do this without *some* additional software. The page needs to be rendered, and then you need to save the image. On the client side, the only way to do this would be using the Print Screen key. – Brian Dec 31 '11 at 12:49
  • To Pekka: The webpage is running om my domain, I can add any server and client code to the webpage! –  Dec 31 '11 at 13:35

1 Answers1

0

Ive not seen anything like this around, obviously mac computers have this by default with cmd shift 4.

What I have seen is http://www.webresourcesdepot.com/jquery-image-crop-plugin-jcrop/ which seems to have the functionality you need however for images so maby you can modify it to your needs.

Dominic Green
  • 10,142
  • 4
  • 30
  • 34
  • To Dominic Green: Thanks! I need to select any rectangle range of the webpage, not only picture , but also text, and can save the selected any rectangle range to a image at client browser. –  Dec 31 '11 at 13:53
  • Yer i mentioned that the solution may need some work, The only other solution that may work is http://stackoverflow.com/questions/5941631/compile-save-export-html-as-a-png-image-using-jquery – Dominic Green Dec 31 '11 at 13:55