Hello,
i would like to use the screenshot function in version 3.18 (OracleLinux) to fix and save entire screen contents.
For this I use:
...
anytype image;
image=getScreenshot(1); // 1 = Bildschirm 1
imageToFile(image, "/home/test/test.png");
...
The saved image is defective. It's a png but shifted in on itself, like a puzzle,
when you move a row by one position. What's wrong there? Is this a Linuxproblem?
Furthermore, I would like to save the image, if possible, in a data point of the type: dyn_blob.
There is not much written about dyn_blob in the help. Can it be used like the BLOB field type in ORACLE?
So far I have not been able to store data in such a field.
greetings
Create a Screenshot and save this in a dyn_blob
Search
-
- Posts: 330
- Joined: Tue Jan 15, 2019 3:12 pm
Re: Create a Screenshot and save this in a dyn_blob
In case you want to make a screenshot of a WinCC OA module you could also try the shape function imageToFile. The last example shows how a screenshot of a panel can be made, using the rootPanel creates a screenshot of the whole module.