Add error codes.
Return image from capture.