title: Loading png image texture from char array or QByteArray with libpng
body: <p>I have the image data as QByteArray. I want to load the texture of this image from that data using libpng. Everywhere I see reading the image texture from the file or from input stream. But how can I load the image from the QByteArray?? Thanks.</p>