Sends width and height as another parameter to the callback. Fixes issue #67
Merge pull request #68 from chanon/master

Pass additional info (width, height) to output callback