Encode an RGBA buffer to PNG bytes in memory.
<insightdock/png_writer.h>
[[visibility]] std::vector<uint8_t> encode_png(ImageBuffer const& img);