How to show an image from memory?

Crawling

New Member
Hello guys,

I have an image stored in a buffer that I retrieved from my server. I am trying to load it to be shown, similar to how the image source is doing it. I am having trouble with it because the image does not show up properly when It try to do it. When I load it from a file like how the image source does it, it actually renders just fine. I can see in the source code it does some magic with the graphics FFMPEG through image-file.c but I have no clue what it is doing. I wanted to see if anyone could help me with this?

Thanks
 
Top