This looks vaguely like xpm, but monochrome and vectorized. xpm is an image format that is also valid C code, so you can #include "image.xpm" in your C source code.
https://en.wikipedia.org/wiki/X_PixMap#Comparison_with_other...
https://en.wikipedia.org/wiki/X_PixMap#Comparison_with_other...