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

[DwmThumbnail] Export frame as image #4

Open
thebitbrine opened this issue Apr 6, 2023 · 1 comment
Open

[DwmThumbnail] Export frame as image #4

thebitbrine opened this issue Apr 6, 2023 · 1 comment

Comments

@thebitbrine
Copy link

Hey checked the code for DwmThumbnail, It seems like you directly push the frame to the WPF window.
Is there any way to export the frame to an image?

Thanks.

@mika-f
Copy link
Owner

mika-f commented Apr 9, 2023

As far as I know, the result of DwmThumbnail API cannot be create directly into an image. However, it is possible to indirectly obtain the image by capturing the window itself that is drawed by DwmThumbnail.
Basically, the similar result can also be obtained by getting the DwmSharedSurface result.

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

No branches or pull requests

2 participants