Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScreenCut截图时屏幕会闪烁问题 #89

Open
deakintsang opened this issue Jan 29, 2024 · 3 comments
Open

ScreenCut截图时屏幕会闪烁问题 #89

deakintsang opened this issue Jan 29, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@deakintsang
Copy link

截图时屏幕会闪烁,让人难受(有点强迫症),所以可以通过给窗体设置AllowTransparency为True,对闪烁问题有一定的缓解;ResizeMode="NoResize" 也能缓解闪烁;

image

@yanjinhuagood
Copy link
Member

非常感谢您的反馈和建议,您建议给它们添加ResizeMode="NoResize"属性下一个版本我们将为ScreenCutScreenCutExt增加ResizeMode="NoResize"
建议使用ScreenCutExt,因为Issue GC释放慢的问题。

@yanjinhuagood yanjinhuagood self-assigned this Jan 29, 2024
@yanjinhuagood yanjinhuagood added the enhancement New feature or request label Jan 29, 2024
yanjinhuagood added a commit that referenced this issue Jan 29, 2024
Co-Authored-By: Deakin Tsang <35422654+deakintsang@users.noreply.github.com>

#89 Fix issue
@deakintsang
Copy link
Author

@yanjinhuagood 内存释放慢的问题,我参考了这一个,修改了ConvertBitmap这个方法,简单测试了一下,释放还是挺正常的;你原写法,连续截图时,的确会累加上;

image

@yanjinhuagood
Copy link
Member

非常感谢🤝

yanjinhuagood added a commit that referenced this issue Feb 5, 2024
Co-Authored-By: Deakin Tsang <35422654+deakintsang@users.noreply.github.com>

#89 #77 Fix Issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants