Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Rendering a HTML to png

Post Reply
User avatar
salvadordf
Posts: 4572
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Rendering a HTML to png

Post by salvadordf »

Hi,

It's already available in the SimpleOSRBrowser demo.

Set the TRANSPARENT_BROWSER constant to True and load file://transparency.html to test transparency. That demo also has a button to save the browser contents as a bitmap.
User avatar
salvadordf
Posts: 4572
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Rendering a HTML to png

Post by salvadordf »

I only have a Delphi Community Edition license and I can't create demos for Delphi 7. The package and the 2 demos we have were sent by other users and I only edit the package with notepad when a new unit needs to be added.

However, you can test the OSR demos with Lazarus or Delphi Community Edition for free :
Post Reply