+ Reply to Thread
Results 1 to 2 of 2

Thread: converting HTML to a .png file

  1. #1
    timcyberbanjo is offline VB.NET Forum Newbie timcyberbanjo is on a distinguished programming path ahead
    .NET Framework
    .NET 2.0 (VS 2005)
    Join Date
    Oct 2008
    Age
    54
    Posts
    2
    Reputation
    0

    Default converting HTML to a .png file

    Hi,
    I have a task thrown my way to use vb.net to convert a HTML document to a .png (image format) programatically. I have sniffed about the net and found there are several 3rd party products that can do that sort of thing, so I see it can be done. Does anyone out there know of fairly simple way of doing it programatically. Preferably with freeware?
    cheers.

  2. #2
    Robert_Zenz's Avatar
    Robert_Zenz is offline VB.NET Forum Idol Robert_Zenz master of VB.NET Robert_Zenz master of VB.NET Robert_Zenz master of VB.NET Robert_Zenz master of VB.NET Robert_Zenz master of VB.NET Robert_Zenz master of VB.NET Robert_Zenz master of VB.NET Robert_Zenz master of VB.NET Robert_Zenz master of VB.NET
    .NET Framework
    .NET 2.0
    Join Date
    Jun 2008
    Location
    Vienna, Austria
    Age
    23
    Posts
    503
    Reputation
    295

    Default

    Hello.

    You could try to use System.Windows.Forms.WebBrowser, and let it paint onto a Bitmap (keyword: Paint Control To Bitmap) instead of onto itself.

    Also, you could try to embed the Gecko (Mozilla2)-Engine within your application and let it do the rendering. However, I've never done this.

    Bobby
    Don't give TypeCasting Errors a chance, turn ON Option Strict!
    Greatest Obfuscator ever: EazFuscator (Freeware)
    Greatest Reflection Tool ever: .NET Reflector (Freeware) with Add-Ins
    Greatest Introspection Tool ever: Gendarme (GPL)
    Greatest MySQL FrontEnd ever: MySQL-Front (Shareware), HeidiSQL (GPL)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts