How to write an image file from python to C++ using PyCxx

49 views Asked by At

I would like to be able to write an image from Python (or any binary file for that matter) to C++, using PyCxx and have the C++ layer write that to a file. I can't find any binary type in PyCXX that would enable this - the closest thing is Py::Bytes seems to be based on 'char' type.

Any ideas/suggestions?

Thanks for all your help!

0

There are 0 answers