debugging CaptureImage 1.1.2