Html Snapshot update.

When converting html to image, html snapshot will hold a bitmap in memory.

Some html will result a large image which will use a large amount of memory.

We recently update html snapshot, so that it can better handle large image. The image size will be limited by the memory installed on the machine now.


One one hand, this improvement will enable better support for large html. On the other hand, sometimes you may have a specialized html version to be converted for printing. For example, the CSS style can specify the absolute width and height of the page or html element.


“div style=”width: 6000px; height: 6000px” 

The resulted image can have enough pixels to be printed in high DPI mode.