Converting an html file to a gif image

Discussion in 'ASP.NET / ASP.NET Core' started by diltonm, Aug 5, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. This will be non-trivial using IE, I just did soem fast prototyping.

    You would be better off finding a .NET control that can render HTML and since it it pure .NET you would be less likely to run into problems.

    Using IE, you can mix GDI native programming and get the image but it is a problematic approach.
     
  2. Situation. I need to deliver a gif image as a banner ad to others. The banner ad is basically a screen shot of my dynamic web page (okay, a little screen shot - 728 x 90.)

    How can I do this?

    My thoughts:
    1. page1.aspx takes the call.<ul>[*]creates an IE object [*]tells that object to open dynamicpage.aspx [*]I scrape the image that the IE object rendered (i.e., I don't want the html code, ala WebClient...) [/list]2. page1.aspx returns that image (setting mime type)

    I've done the screen scraping thing fine in the past. The key point here is that I (think I) need a browser to render the html.

    Any ideas? Thoughts? Experience?

    Thanks!
    p
     
  3. Agreed. (After further banging my head on this...)

    Thanks!
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page