ariya/phantomjs — pull request #12828 by DeviaVir (2014-12-15 10:02:57+00:00)
Title: Add a viewport example

This example creates a screenshot, solely based on URL and size.
```
Usage: phantomjs examples/viewport.js URL filename sizeX sizeY
```

(I am aware of the more advanced rasterize.js, but was looking for an isolated viewport example and found none)