debugging CaptureImage 6