Posted By: sc00ter | Mar 27th, 2006 @ 6:41 PM
page 1 of 1
Comments: 7 | Views: 7151
sc00ter
sc00ter
Always in motion the future is..
I've been trying to get an Image from an htmlelement (<IMG> tag).  is there a way to convert over the IMG tag to an Image object in vs.net 2005 (vb)

Sure I can grab the url from the src attrib adn download that via webclient object, wb.downloaddata -> memorystream -> new image(ms) etc.. but since the webbrowser downloads everything anyways, wouldn't it be overkill to do that?   There's got to be an easy way of doing this?
JohnAskew
JohnAskew
9 girl in pink sweater
You want to pull the image out of memory after it's already been pulled down by the browser?

Neat idea. I can't help at all, though, sorry. What's cached?
JohnAskew
JohnAskew
9 girl in pink sweater
http://www.port80software.com/200ok/articles/177.aspx

I don't know. That link explains some about browser cache.
Hi
Is it possible to get the HTMLImgClass to an System.Drawing.Image. Without the additional HttpReqest?
The Webbrowser control might cache it some were. I need to fill the list view of downloaded images. Is there any way to this?
stevo_
stevo_
Human after all
All http actions will go through the cache anyway, all you would be doing by asking for the url, would be querying the cache again..

The caching is abstracted but there is control over caching by one of the properties of the request (I believe).
page 1 of 1
Comments: 7 | Views: 7151
Microsoft Communities