你试试这种方法,这是从pico官方capture screen demo中看到的,你可以去看看
https://github.com/picoxr/capture-screen
byte[] bytes = screenShot.EncodeToPNG();
string filepath = "/storage/emulated/0/Pictures/Screenshots/";
if (!System.IO.Directory.Exists(filepath))
{
System.IO.Directory.CreateDirectory(filepath);
}
string filename = filepath + System.DateTime.Now.ToString("yyyy-MM-dd_HH-mm-ss") + ".png";
System.IO.File.WriteAllBytes(filename, bytes);