A QImage class, provided by Qt libraries and generally used through a QQuickImageProvider in order to expose images to QML, can be constructed from an existent buffer.
I had a play too, and I integrated the sample code into a clone of the poppler-qml-plugin we use.
Still unstable and I get a few too many crashed, but it's nice to see it working: https://imgur.com/jnLBJQX,na4DPJC
I will upload the code tomorrow, I have to clean the code a bit, first.
Thank you all for this gem! \o/
A QImage class, provided by Qt libraries and generally used through a QQuickImageProvider in order to expose images to QML, can be constructed from an existent buffer.
I had a play too, and I integrated the sample code into a clone of the poppler-qml-plugin we use. /imgur. com/jnLBJQX, na4DPJC
Still unstable and I get a few too many crashed, but it's nice to see it working: https:/
I will upload the code tomorrow, I have to clean the code a bit, first.