在一个C#应用程序中,我使用了NReco.ImageGenerator库,它封装了wkhtmltopdf库来将html转换为图像。而在我的功能相当强大的个人电脑(i7,8 8gb内存,非固态硬盘,Windows764位)上,速度很好(每张照片最多1秒?),而在其他电脑上,1张照片的整个操作可能需要20到40秒。其中一台电脑是另一台开发人员电脑,就像我的电脑一样,cpu稍好一些。htmlToImageConv = new NReco.ImageGenerator.HtmlToImageCo
var elem = document.getElementsByClassName("main")[0];}
* replacing the animated node with a deep-copy of itself *
* https://css-tricks.com/restart-css-