debugging CaptureImage 4