0

I am using page.render() function in Phantomjs to create images from web page containing svg elements. The rendered image has dpi of 72 in my ubuntu machine.

After a long searching in web I found that the default dpi value for ubuntu is 72. The resulted jpg image does not have good quality so I want to increase its dpi value (resolution).

Can I change the value in phantomjs source files? If yes, then what are the files I need to change to set a higher dpi value?

ankit agarwal
  • 61
  • 1
  • 9

0 Answers0