pub fn save_png(v: &Value, path: &Path) -> Result<(), String>
Decode a ui.screenshot reply’s PNG and write it. Write the PNG in a ui.screenshot reply ({"png": base64}) to path, making its folder.
ui.screenshot
{"png": base64}
path