从快照浏览器与Flash或javascript [英] snapshot from browser with flash or javascript
问题描述
我在这里看到一个线程使用HPA采取浏览器截图暗示,但我想知道如果你能帮助我。我想能够选择一块的网页的一部分,并使其为图像。我知道弯曲可以利用自己的画布图像,但有可能采取的页面?
I saw a thread here suggesting using a HPA to take a browser screenshot, but I was wondering if you could help me. I would like to be able to select a part of a piece of a web page and render it as an image. I know flex can take images of its own canvas, but is it possible to take a picture of the rest of the page?
我希望能够只用Flash和JavaScript,没有一个插件来做到这一点。我意识到,我可能会问魔法,所以感谢您的帮助。
I would like to be able to do it with just flash and javascript, and without a plugin. I realise that I may be asking for magic, so thanks for your help.
推荐答案
如果Flex能做到这一点,则Flash也应该能够做到这一点。
If Flex can do it, then Flash should also be able to do it.
做这件事客户端是,如果不出意外,相当不可靠的。个人而言,我会去像 http://snapcasa.com/ 无论是外部服务或者如果你有机会到您的服务器去如 http://khtml2png.sourceforge.net/
Doing it client side is if nothing else, rather unreliable. Personally I would go for either an external service like http://snapcasa.com/ or if you have access to your server go for a server side solution like http://khtml2png.sourceforge.net/
这篇关于从快照浏览器与Flash或javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!