Request for a brl.imagedata module

Monkey Forums/Monkey Programming/Request for a brl.imagedata module

JaviCervera(Posted 2013) [#1]
Both opengl.gles11 and opengl.gles20 modules have a duplicated LoadImageData function, which is very useful to load pixel data from image files and then generate an OpenGL texture from it.

But the fact is that, even if we do not use OpenGL for anything, this function would still be very useful, for example to be able to analyze the pixels in an image. That's why I think it would be very nice to have this LoadImageData function out of both OpenGL modules and available as a separate brl.imagedata module which does not include any GL stuff.


AdamRedwoods(Posted 2013) [#2]
the TPixmap class in minib3d does this.
But i agree, all the mojo images should allow the option to retain in memory as databuffers.