Capture Image of LCD content

Hello Friends. Suppose I have connected touch LCD with arduino. A user writes some thing over LCD like shown in this image(which isn't mine. Just for preview!)


How am I able to capture image of this content and save to sd card which is already attached to arduino? In short how can I save contents of LCD as an image no matter if it is jpg or png etc. into SD card?

  1. depends on LCD, some support lcd.readPixel(x,y); or equivalent

  2. if not you can capture all writePixel() commands to SD card so you can rerun it.

  3. Or you can generate a shadow bitmap with every write.

  4. ...