3 years, 9 months ago.

Can LPC4088DM do the screenshot ?

I want to get screenshot and save to uSDcard. Did LPC4088DM have the screenshot ?

Question relating to:

Example program using the emWin GUI library. Display Module, emwin, LPC4088DM

1 Answer

3 years, 9 months ago.

There is no complete screenshot saving feature in the software bundle for the LPC4088DM.

Saving the raw data is a simple as writing the framebuffer you have to the sdcard. You can get the number of bytes with this function:


The difficult part of taking a screenshot is converting the data into an image. You can either try to do that on the PC and just have the LPC4088DM store the raw data or you could try to enable the encoder part of the lodepng implementation available in the DMBasicGUI package. Enabling png encoding is not something that is supported so you will have to try to get it to work yourself.