Page 1 of 1

Re: Rendering a HTML to png

Posted: Sun Dec 22, 2019 5:58 pm
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.

Re: Rendering a HTML to png

Posted: Mon Dec 23, 2019 7:51 am
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 :