debugging CaptureImage 3