ZXInterfaceZ icon indicating copy to clipboard operation
ZXInterfaceZ copied to clipboard

Support saving screenshots to SD card

Open rickard-von-essen opened this issue 4 years ago • 2 comments

Support grabbing the screen content, either with the USR menu (omitting the menu) or using a custom key on a USB connected device. Save the screen to a predefined path either on the SD Card or a USB mass storage device.

rickard-von-essen avatar Mar 23 '21 08:03 rickard-von-essen

i'm guessing there is no realtime clock so we probably need to keep a counter and use it in the filename. (/sdcard/screenshoot/interfacez-scr-0001.png)

rickard-von-essen avatar Mar 23 '21 08:03 rickard-von-essen

This is intimately linked to the quick snapshot feature. My idea for the file naming is to in a first instance (i.e., first activation after a ZX Spectrum reset [not Interface Z reset]) to present a file chooser dialog where you can select the directory and the file name template (which will be "preloaded" if you have since loaded a tape, but you can edit it freely). Then, auto increment counters will be used for the file name (incrementing until there is a free "slot" for the file, so you don't overwrite old snapshots. The template itself can either be hardcoded (selectedname-XXXX.ext) or manually input in the future.

alvieboy avatar Mar 23 '21 08:03 alvieboy