1/* @ajax/mesh-assemble-bmp: a 24-bit BMP of an RGB raster (assemble.rs `bmp`): rows bottom-up, BGR, 2 * each padded to 4 bytes. */ 3#ifndef MESH_ASSEMBLE_BMP_H 4#define MESH_ASSEMBLE_BMP_H 5 6#include <stddef.h> 7#include <stdint.h> 8 9/* w x h pixels of 3 bytes (row-major, top row first); a new buffer of *len bytes. */ 10uint8_t *masm_bmp(uint32_t w, uint32_t h, const uint8_t *raster, size_t *len); 11 12#endif