Im looking for the way to programmatically create image from loaded Web Page (that can contain HTML, Flash, PDF, DOC, etc.). Is it possible to do with K-Meleon browser API.
I need to do it programmatically: load URL and do magic that will create image of this URL. Now Im looking for this magic. I know how to convert HTML loaded into JEditorPane() into Graphics object and create image using Sun Advanced Imaging API. But JeditorPane HTML support is very limited and I need to be able to capture different formats: PDF, Flash, DOC, etc. All those additional formats will be available if UI (JeditorPane, browser, etc.) component has a plug in for.
I have placed my question in this forum hopping that Open Source Browser will may have option to capture snapshot of the loaded page or If K-Meleon main browser Java UI component has paint(Graphics) method, I will be most likely able to use to produce image.
Sorry my mistake. It was late evening yesterday when I have published my first question and I have forgotten that its not Java browser.
Let me rephrase my question then. Do I have an option to capture programmatically the loaded page? Maybe use print option and print to file?
Well, I know that some screenshot programs can automatically scroll in an IE window and take one long snapshot of the entire document, so it seems like there should be some way to do what you want.
What he meant about pasting into irfanview is this: Irfanview is a popular freeware image viewer/converter. It's popular because it's small, fast, freeware, and can handle the vast majority of image and multimedia formats available. What guenter was talking about was to hit the print screen key, open irfanview, paste the captured image into irfanview, then save it as a png or jpg or whatever. Of course, irfanview also has a built in screen capture utility which can capture the cursor in addition to the document, and can be set to automatically svae the image.
I was also hoping that I can use Print Preview option of K-Meleon to store image to disc. I will look for Print Preview code to see how its doing it.
Drahken said, " know that some screenshot programs can automatically scroll in an IE window and take one long snapshot of the entire document"
Could you please say which programs do this? I'm actually in a seemingly similar situation as Daniel wherein I need to be able to show thumbnails of any url a user might type into a textbox.
I don't know of any freeware ones that can do it, but here are some shareware ones:
capture pro
hyper snap
mr captor
capture wiz
super capture
rs capture it
All available from http://snapfiles.com/shareware/gmm/swscreen.html (and probably other places)
Can you send me the sample in Java where you convert HTML loaded into JEditorPane() into Graphics object and create image...
My email address is vguhesan-at-Y!dotcom...
Please replace -at- with @ and Y!dotcom with yahoo.com
Thanks
Veni
>>>>>>>>>>>>>>>
Hi,
I need to do it programmatically: load URL and do magic that will create image of this URL. Now Im looking for this magic. I know how to convert HTML loaded into JEditorPane() into Graphics object and create image using Sun Advanced Imaging API. But JeditorPane HTML support is very limited and I need to be able to capture different formats: PDF, Flash, DOC, etc. All those additional formats will be available if UI (JeditorPane, browser, etc.) component has a plug in for.
I have placed my question in this forum hopping that Open Source Browser will may have option to capture snapshot of the loaded page or If K-Meleon main browser Java UI component has paint(Graphics) method, I will be most likely able to use to produce image.
Talking about screen capture tools there, i want advise you to use app, which takes video screen capture. In my opinion it's more useful then capture only image. Using this program, you can make your demos, video tutorials, any presentaions...Try it: http://geovid.com/Screen_VidShot/
hit "Print" button of keyboard and insert into copy paste by irfan view?
But that gives only picture/image -
(button 3rd from right here on my keyboard - it captures screen since dos times)
You could try to get eml extension from Mozill.org working
- but no work has been done for it here. So i do not know whether it will work.
eml is one of the names for an html page that has picture inside itwelf.
is a multi part html, where the parts are inside the same file document.
There are some screencap progs that can auto-scroll IE while taking the cap, and thus get an entire page in a single shot. I haven't been able to find any that work like that for any non-IE browsers though.