Relative Content

Tag Archive for pythonc++memoryprocessshared-memory

Is there a way to write an image to memory with Python and read it from another application written in C++?

I would like to create and write an image to the memory in such a way that other processes are able to read it. The goal is to have a Python script create some graph using matplotlib.pyplot, write it to the memory as a png file and then have a Qt application written in C++ or Python read that image and be able to render it in it’s own window using the capabilities of Qt. I would specifically want to avoid saving the image to the hard disk.