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

Can this be used without WPF or WinForms? #54

Open
FrankenApps opened this issue Feb 18, 2021 · 4 comments
Open

Can this be used without WPF or WinForms? #54

FrankenApps opened this issue Feb 18, 2021 · 4 comments

Comments

@FrankenApps
Copy link

Hi, sorry to ask a question here.

I tried to use your Library in a standalone Net5 Console App, but it does not work and the error suggests, that I need to use WPF (or maybe WinForms).
Is that true?
I basically want to render to an Image (.png) and save it, so I would need no GUI.

@jingwood
Copy link
Owner

jingwood commented Feb 18, 2021

I think this library can be used without Windows Form. But currently there is no support to read back a rendered bitmap image from memory. I will try to add them and provide some example code later.

@jingwood
Copy link
Owner

Hi @FrankenApps, just confirm, although I think it can work without Windows Form or WPF, but maybe it requires a Windows OS with hardware acceleration GPU installed, it does not about .NET framework, it uses the Direct2D API from Windows System directly. What is your target platform?

@FrankenApps
Copy link
Author

My target platform is windows 10 (with hardware acceleration). However I tried to target .Net5 (not Framework).

@jingwood jingwood removed the todo label Oct 31, 2022
@habibrehmansg
Copy link

Did you get around to adding support to read back the rendered bitmap? I would like to use D2D in a background task too.

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

No branches or pull requests

3 participants