Skip to content

How are the "screenshots" rendered in the MUI manual? #1927

Answered by olikraus
loopj asked this question in Q&A
Discussion options

You must be logged in to vote

For https://github.com/olikraus/u8g2/wiki/u8g2reference and https://github.com/olikraus/u8g2/wiki/muimanual there is indeed an sdl emulation https://github.com/olikraus/u8g2/blob/master/sys/sdl/mui_ref/main.c for the creation of the animations.

This in turn has a screenshot function

void do_screenshot(void)

which is based on the

void u8x8_SaveBitmapTGA(u8x8_t *u8x8, const char *filename);

function which is a unix extention: https://github.com/olikraus/u8g2/tree/master/sys/bitmap/common

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@loopj
Comment options

Answer selected by loopj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants