Code: Select all
<IMG src="drawapicture.cgi">In the case of an image created dynamically by CGI/PHP, I don't know whether the browser saves the image data to a temporary file in the cache or if it just deals with it in memory.
Now say we use the IWebBrowser2 interface with the webgadget. We parse the HTML and find that image tag. I want to know if it's possible to get the image data (or the saved image file) and work with it. Specifically what I want to do is read it into memory and encode it to Base64, but the main problem is getting a handle to it in the first place.
I've done some preliminary googling and one guy suggests using FindFirstUrlCacheEntry and FindNextUrlCacheEntry.
Unfortunately there are no examples on the forum of using either of these functions. If anyone can demonstrate I'd be most grateful. API just isn't my strong point.
Thanks for reading,
Seymour.


