Added method getSnapshot()
Merge pull request #19 from sidney3172/export-as-image

Added method getSnapshot()