I’d like to make a snapshot of the sreen/window/area at run time form my PhAB C apllication. I bulid an HMI and I want to add new integrated functionality for users to make a screenshot of current data on the screen. As I found it was easy to do it in QNX 4.25 with snapshot command (with relevant options) e.g.:
snapshot -A 100100 -o 5050 -p “BMP Spool File” -f /src/photon/apps/print1.bmp
But in QNX 6.3 version it doesn’t work by this way.
Could you give me a tips how to do it by code, please?