How to read picture_t from memory...

Peter Tap ptrtap at yahoo.com
Tue Jan 3 01:51:58 CET 2017


Hi,

In my custom vlc module, I need to load a png image into picture_t structure. So far, I have been using image_ReadUrl. It works as expected. However, now I need to read the same image from memory instead of disk. ImageMagick's "convert" program can save a .png file into a C/C++ .h file as a byte pointer in PNM format. I am wondering if there is a way to load this in-memory image as picture_t.

Thank you in advance for your help.

Regards,
Peter


More information about the vlc-devel mailing list