

Note that you'll need to replace the xxx with the name of your pdf file. The second one is the URL to load, which is the local webserver running pdfjs. That's easy, in our case it's the modified version of rasterize.js! The first one tells phantomjs which script to run. What are those parameters I hear you say? Phantomjs.exe rasterize.js test.png 1920px*1080px
