Important: Please read the Qt Code of Conduct -

QImageIOPlugin and the obstacle of mipmaps

  • I've been trying to make a few image format plugins lately, but some formats use mipmaps. I tried googling and searching QImage docs for anything that remotely does anything with mipmaps, but the closest I come is QOpenGLTexture. Unfortunately it doesn't seen QOpenGLTexture can return the underlying QImage if it's constructed with or set to a QImage for data. I tried looking at the source of KImageFormats' Targa plugin since I know Targa images are good for game textures, but I see nothing about mipmaps in the format specs or kimg_tga plugin code. Is there a way to use QImage or develop a QImageIOPlugin in a way that supports mipmaps?

  • Lifetime Qt Champion


    That's a question you should rather bring on the interest mailing list. You'll find there Qt's developers/maintainers (this forum is more user oriented)

Log in to reply