![]() |
![]()
| ![]() |
![]()
NAMEsave_screenshot - Store a copy of the current display to a file. SYNOPSISnil
DESCRIPTIONThis function creates a file of the latest drawn output on the primary display or of the contents of a specific VID of specified in srcid . Local (default, false) set to true or non-zero hints that the local storage should be used. This is important when there is a discrepancy between what is stored as the objects video backing store (implementation defined) and the local copy as they are not always in synch. The format setting is by default FORMAT_PNG but can also be FORMAT_PNG_FLIP , FORMAT_RAW 8, FORMAT_RAW 24 or FORMAT_RAW 32 though the RAW formats are primarily for advanced use and debugging purposes. NOTES
EXAMPLEfunction save_screenshot0()
|