Add console.screenshot screenshot

This commit is contained in:
Adrian Cooney 2013-07-01 03:07:38 +01:00
parent 2fcbdc32ce
commit c9ee8f2236

View File

@ -32,6 +32,8 @@ console.screenshot(canvas);
console.screenshot(canvas, 0.8); //Snapshot it and scale the output to 80% of the original size
```
![Screenshot demo](http://i.imgur.com/e1EUuhM.png)
### console.image( _<url>_ )
`console.image` outputs an image from a url into the console. See [console.image](http://github.com/dunxrion/console.image).