rxi / microui

A tiny immediate-mode UI library
MIT License
3.29k stars 239 forks source link

atlas_texture #17

Closed SourceLink closed 4 years ago

SourceLink commented 5 years ago

Hello rxi: Does the content in this array have an image format? How is this constructed?

rxi commented 5 years ago

The content of the atlas_texture array is a raw monochromatic bitmap, 8bits per pixel. See #9 for how the original image was generated; imagemagick was used to convert the resultant image to a raw greyscale bitmap, xxd was used to generate the C array literal.