You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug 🐛
The video after recording had an incorrect color problem. I tried other options in ColorFormat, but I couldn't solve it.
OS 🤖
Version: [window11]
Build[24H2 26100.2605]
My code
fnget_window(title:&str) -> Window{let window = Window::from_name(title).unwrap();println!("{:?}",window);
window
}let capture_target = get_window("任务管理器");let settings = Settings::new(// Item to capture
capture_target,// Capture cursor settings
cursor,// Draw border settings
border,// The desired color format for the captured frame.ColorFormat::Rgba8,// Additional flags for the capture settings that will be passed to user defined `new` function."Yea this works".to_string(),);let i=Capture::start_free_threaded(settings).expect("Screen capture failed");
The text was updated successfully, but these errors were encountered:
Describe the bug 🐛
The video after recording had an incorrect color problem. I tried other options in ColorFormat, but I couldn't solve it.
OS 🤖
My code
The text was updated successfully, but these errors were encountered: