title: PNGs half-rendering with PhantomJS and node phantom module?
body: <p>I'm running into an issue using PhantomJS and <a href="https://www.npmjs.com/package/phantom" rel="nofollow">phantom</a> to render a webpage to a PDF. </p>
  
  <p>What I'm noticing is that, while SVG and JPGs load "fully" into the generated PDF, PNG images do not, <em>but only on their first appearance in the document</em>. In other words, the first image is partially faded, then the subsequent images are not faded at all.</p>
  
  <p>I've checked the <code>onResourceLoaded</code> callback, and the images are loading properly from the server. I've tried swapping http and https to see if that made a difference. Tried loading from a local, static folder to see if it was a network delay. And I've tried wrapping <code>page.render</code> in a <code>setTimeout</code> (as many suggest on SO in other questions) to no avail.</p>
  
  <p>Is this a known issue? Is there a better workaround to solve the faded out PNG? Unfortunately, in this project, I don't have control over what image type comes into me.</p>