qnanopainter icon indicating copy to clipboard operation
qnanopainter copied to clipboard

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

Open Chrislu30604 opened this issue 4 years ago • 1 comments

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 ?

Chrislu30604 avatar Apr 13 '20 05:04 Chrislu30604

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! =)

QUItCoding avatar Apr 13 '20 11:04 QUItCoding