I've been developing a screen grab facility for Picaso (specifically the 32028-P1(T), but there's not reason it won't work for other displays) and I think it's about time to share it!
I'd be interested in knowing what devices it works on.
Code attached is;
snip_scrgrab.4dg
Just cut and paste the const/global section into the program to have it's screens grabbed, and the code section above your main(). In main() you'll need to call ScrGrab_Init... to initialise and then call ScrGrab wherever you want to grab the screen.
Whilst grabbing a flickering pixel scans down the screen just to let you know something is happening. The grab will be saved to SD card with the name IMGnnnnn.RAW (150KB per grab.)
The screen size is set in the const section. Just alter it to match your screen size. (I've only tested on my uOLED-32028-P1T in portrait mode.)
Now you have to use my other program, which runs on Windows...
RawConv.zip
Unzip this to RawConv.exe and copy anywhere convenient (on a Windows PC.) This will allow you to browse your RAW files copied (from your 4D SD card) and to convert them to BMP format.
Once the prog. has started click on 'Load Images' to browse your *.RAW files. When you click on 'Convert and Save' all images in the left-hand panel will be saved as BMPs in the same directory as the RAW files. You can highlight individual images and delete then from the view by pressing the Delete key (the underlying RAW file is left unharmed!)
It uses .Net framework. I have v3.5 installed but I suspect that .Net redist. version 2.0 will be sufficient to run it.
Windows RawConv screenshot:

Regs
Steve Attached files RawConv.zip (6.9 KB) snip_scrgrab.4dg (3.2 KB)
I'd be interested in knowing what devices it works on.
Code attached is;
snip_scrgrab.4dg
Just cut and paste the const/global section into the program to have it's screens grabbed, and the code section above your main(). In main() you'll need to call ScrGrab_Init... to initialise and then call ScrGrab wherever you want to grab the screen.
Whilst grabbing a flickering pixel scans down the screen just to let you know something is happening. The grab will be saved to SD card with the name IMGnnnnn.RAW (150KB per grab.)
The screen size is set in the const section. Just alter it to match your screen size. (I've only tested on my uOLED-32028-P1T in portrait mode.)
Now you have to use my other program, which runs on Windows...
RawConv.zip
Unzip this to RawConv.exe and copy anywhere convenient (on a Windows PC.) This will allow you to browse your RAW files copied (from your 4D SD card) and to convert them to BMP format.
Once the prog. has started click on 'Load Images' to browse your *.RAW files. When you click on 'Convert and Save' all images in the left-hand panel will be saved as BMPs in the same directory as the RAW files. You can highlight individual images and delete then from the view by pressing the Delete key (the underlying RAW file is left unharmed!)
It uses .Net framework. I have v3.5 installed but I suspect that .Net redist. version 2.0 will be sufficient to run it.
Windows RawConv screenshot:

Regs
Steve Attached files RawConv.zip (6.9 KB) snip_scrgrab.4dg (3.2 KB)
Comment