An entry from 2012-12-19 in the Journal. By default PhantomJS will rasterize pages with a transparent background if the page does not set a background color on its <body>. The official PhantomJS FAQ offers this solution: page.evaluate(function() { document.body.bgColor = 'white'; }); The problem is that the style property you set on the body element will override other potential background declara