added screenshot functionality: captureImageData
2.1.0