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.
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.
Rendering a HTML to png
- salvadordf
- Posts: 4572
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
- salvadordf
- Posts: 4572
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Rendering a HTML to png
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 :
However, you can test the OSR demos with Lazarus or Delphi Community Edition for free :