Added ability to capture to ImageData objects for easy pixel manipulation.