By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,341 Members | 1,395 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,341 IT Pros & Developers. It's quick & easy.

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

P: n/a
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 ?
---------------------
Thanks
Rajiv Das
Dec 13 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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...

--
Patrice

"Rajiv Das" <Ra******@discussions.microsoft.com> a écrit dans le message de
news:F5**********************************@microsof t.com...
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 ?
---------------------
Thanks
Rajiv Das

Dec 13 '05 #2

P: n/a
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" wrote:
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...

--
Patrice

"Rajiv Das" <Ra******@discussions.microsoft.com> a écrit dans le message de
news:F5**********************************@microsof t.com...
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 ?
---------------------
Thanks
Rajiv Das


Dec 13 '05 #3

P: n/a
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" <Ra******@discussions.microsoft.com> a écrit dans le message de
news:BE**********************************@microsof t.com...
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" wrote:
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...

--
Patrice

"Rajiv Das" <Ra******@discussions.microsoft.com> a écrit dans le message de news:F5**********************************@microsof t.com...
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 ?
---------------------
Thanks
Rajiv Das


Dec 13 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.