The file library allows 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 image on SD-card option saves a header file to the SD-card.
The header file needs to be included into an application at build-time and displayed at the next run-time.
|Method||BMP file||Image file||PBM file|
|Save as||BMP||Header file||PBM file|
|Read from||SD-card||Header file||SD-card|
The BMP file on SD-card and header file on SD-card libraries are available on the Commercial edition.
The file operations on SD-card require the external SD library library.
Ensure the external SD-card library is installed and properly configured.
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.