mdm.Image.ScreenCapture.movieToBmp("e:\\test.bmp"); mdm.Application.delay(5000); mdm.Image.bmpToPng("e:\\test.bmp", "e:\\curve.png", true, "white");