https://raw.githubusercontent.com/ariya/phantomjs/master/examples/rasterize.js
phantomjs rasterize.js http://www.smashingmagazine.com/2013/11/guidelines-navigation-categories-ecommerce-study test.pdf A4
require 'open3'
class PdfFromUrl
def initialize(url, path)
@url = url