title: get the very high quality screenshot using phantomjs
body: <p>I'am trying to get the very high quality screenshots using this phantomjs script.But the screenshot which i'am getting is not that great.It's not that clear.The clarity sucks in the screenshot.How do i get the very high quality screenshot??can anyone help me in this!!....</p>
  
  <p>this is how my code looks like....</p>
  
  <pre><code>var page = require('webpage').create();
  page.viewportSize = { width: 1920, height: 1200 };
  page.zoomfactor = 1;
  page.open('myurl', function(status) {
  
      if (status !== 'success') {
          console.log('Unable to load the address!');
          phantom.exit();
      } else {
          window.setTimeout(function () {
              console.log('Load the address!');
              page.dpi = 300;
              page.render('d:/screenshots/Newpdf.png',{format: 'png', quality: '100'});
              phantom.exit();
          }, 300000); // Change timeout as required to allow sufficient time 
      }
  
    //phantom.exit();
  });
  </code></pre>