Wish: How to generate image of possible browser view for HTTP Resp

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

C# 2.0
XP SP2

In My Code, I am using HttpWebRequest to visit a particular URL. I am
required to generate a snapshot image (if this request were made through say
IE) and save as jpeg. About .1 million such requests are made in a cycle.

What's the possible solution ?
 
The easiest way would be to have an application that display this in the
browser and does a snapshot.

Why do you want to keep those snaphots ? Do you need a snapshop for all
those requests ? If this is for some kind of "checking" purpore I would just
keep the HTML that can be than redisplayed at any time in the browser...
 
No I am thinking about some screensaver, which shows snapshots as they are
generated.

I don't need a webbrowser control since i need to do additional analysis on
the content.

--
---------------------
Thanks
Rajiv Das


Patrice said:
The easiest way would be to have an application that display this in the
browser and does a snapshot.

Why do you want to keep those snaphots ? Do you need a snapshop for all
those requests ? If this is for some kind of "checking" purpore I would just
keep the HTML that can be than redisplayed at any time in the browser...
 
Not sure what you mean by comparing with screensavers

If you want to create a snapshot, you'll necessarily have to :
- grab the resulting HTML output
- use this output to create a picture. It could range from using an existing
borwser to grab the picture to creating your own rendering engine (of course
the formaer option is likely much easiert than the later)
- of course it will be time consuming if you want to perform this on all
those requests...


The whole picture may help. For example what kind of analysis do you need to
perform ? For now I don't understand why you need a picture of the rendered
image. Wouldn't it be enough to keep the HTML content as you can both
analyze the content (and much more easily depending what kind of analysis
this is) and to render this directly in whatever browser the user who needs
to get back at those data uses, rather than to present him a snapshot..

--
Patrice

Rajiv Das said:
No I am thinking about some screensaver, which shows snapshots as they are
generated.

I don't need a webbrowser control since i need to do additional analysis on
the content.
 
Back
Top