Looking at this comment: Create CPython components using Hops in Grasshopper - #36 by seghierkhaled
it looks like the idea was to save the image/bitmap on your computer using Python, and then pass e.g. only path to this file, so other component will read the path and display it.