It’s a pretty good image format if one wants to quickly make something visual with code.
[0] https://en.m.wikipedia.org/wiki/Netpbm
[1] https://git.sr.ht/~benjcal/bc_libs/tree/main/item/bc_buffer....
I've never tried that variant, nor do I think I've seen files in the wild, so IDK how widely stuff supports it. If I have need for an alpha channel, I usually reach for a PNG encoder at that point…
I use it to make images with C locally and monitor them with a quick image viewer[0] I wrote
[0] https://git.sr.ht/~benjcal/bc_tools/tree/main/item/bc_viewer...
It’s a pretty good image format if one wants to quickly make something visual with code.
[0] https://en.m.wikipedia.org/wiki/Netpbm
[1] https://git.sr.ht/~benjcal/bc_libs/tree/main/item/bc_buffer....