Question

I need to be able to load images (jpeg, png etc.) from the memory in Boost::Gil framework. Is there a way to do that?

Thanky for your answers!

Was it helpful?

Solution

The according to the documentation the read/convert functions only accept filenames as input, not general streams or pointers, so this seems to not be possible.

Grep on the header files seems to agree too:

/usr/include/boost/gil > grep -nri stream *
/usr/include/boost/gil >

and searches for void * or char * don't return any relevant results either.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top