title: how to set dpi using phantomjs node?
body: <p>I am using phantomjs node module. below is the link where from i get this module.</p>
  
  <p><a href="https://github.com/sgentle/phantomjs-node" rel="noreferrer">https://github.com/sgentle/phantomjs-node</a></p>
  
  <p>this really work nice when i create a jpg image file from html. but its default "dpi" is 72 which is not good for printing the image file. so i want to set the dpi when i rendering the image.</p>
  
  <p>from the above link i read some example like page.set('viewportSize', {width:640,height:480}). its set the image size perfectly. but i want to set dpi of image please guide me how can i achieve this.</p>
  
  <pre><code>var phantom = require('phantom');
  
  phantom.create(function (ph) {
    ph.createPage(function (page) {
      page.open("http://www.google.com", function (status) {
         page.render("bla.jpg");
          ph.exit();
  
      });
    });
  });  
  </code></pre>