return image from capture