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

feat: 添加窗口区域截图功能 #182

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Waitfish
Copy link

@Waitfish Waitfish commented Jan 3, 2025

在某些情况下,仅需获取窗口特定固定区域的截图内容,直接截取全部内容需要耗费更多资源。

@nashaofu
Copy link
Owner

nashaofu commented Jan 4, 2025

你这个和直接获取整个窗口截图后再调用Crop不是一样的吗

@Waitfish
Copy link
Author

Waitfish commented Jan 5, 2025

我的电脑直接截一个满屏的窗口要500ms以上,截我想要的部分只要20ms

@nashaofu
Copy link
Owner

nashaofu commented Jan 5, 2025

release 模式也要这么长时间?多大分辨率的显示器

@Waitfish
Copy link
Author

Waitfish commented Jan 9, 2025

显示器是4K的,我用两个example对比了一下。
pr2

pr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants