views:

117

answers:

2

Could you please give me the function of taking print screen and convert in to jpg in javascript or flash

+2  A: 

For security reasons, these functions are not available to a web browser and consequently not to any code which runs inside of it.

Otherwise, crackers could easily observe what the user is typing on the screen.

Aaron Digulla
A: 

I don't think it would be possible in either of these as then it would be a big security risk. And what would you do with the JPG, considering that you can't write to a file from either of those either?

immibis