Skip to content

File libraries

The file libraries allow to save the screen or a window on a file, and to load it back into the frame-buffer.

There are three options:

  • The BMP file option saves and loads a BMP file to and from the SD-card.

Everything is performed at run-time.

The header file needs to be included into an application at build-time and displayed at the next run-time.

To summarise,

Method BMP file  Header file Serial console
Screens All Fast Fast
Save on SD-card SD-card Serial console
Save as BMP Header file Header file 
Read from SD-card  Header file Header file  
Included at Run-time Build-time Build-time

Configure

Warning

The file operations on SD-card require the external SD library library.

Ensure the external SD-card library is installed and properly configured.

Use

Select one of the three options for the file library:

  • Save and retrieve images as BMP files at run-time on an SD-card;

  • Save images as header files at run-time on an SD-card to be included in an application at build-time; and

  • Print images to the serial console at run-time on an SD-card to be included in an application at build-time.

Back to top