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.

  • The portable pixmap file option saves and loads a portable pixmap 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 Image file PBM file
Screens All Fast Fast
Save on SD-card SD-card SD-card
Save as BMP Header file PBM file
Generated at Run-time Run-time Run-time
Read from SD-card Header file SD-card
Included at Run-time Build-time Run-time

The BMP file on SD-card and header file on SD-card libraries are available on the commercial edition.

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 screen content as BMP files at run-time on an SD-card;

  • Save and retrieve screen content as portable pixmap files at run-time on an SD-card;

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