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

How to generate QNanoImage from the binary data (from socket) #52

Open
Chrislu30604 opened this issue Apr 13, 2020 · 1 comment
Open

Comments

@Chrislu30604
Copy link

I want to parse the image from the socket and render it on GUI by qnanopainter to improve the performance (QPainter is too slow). Is there anyway to do that ?

@QUItCoding
Copy link
Owner

QNanoPainter QNanoImage doesn't contain API to load image from data, just from image file or FBO. But NanoVG contains e.g. nvgCreateImageMem and nvgCreateImageRGBA so adding this into QNanoPainter would be possible, patches welcome! =)

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