Project

General

Profile

Drawsave » History » Version 10

Per Amundsen, 02/16/2023 12:24 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3 6 Per Amundsen
*/drawsave -bNqNSBFN <@window|&binvar> [x y w h] <filename>*
4 1 Per Amundsen
5
Saves the background picture of the specified picture @window to a file.
6
7
*Switches*
8
9 9 Per Amundsen
table(ktable).
10
|*Switch*|*Description*|
11
| -bN | allows you to specify the bit depth of the saved file, which can be 1, 4, 8, 16, 24, or 32. |
12
| -qN | allows you to specify the quality of the jpeg file that is being saved, where N is between 1 and 100. |
13
| -S | Indicates [x y w h] is specified to save only a specific position and size of the picture. *(AdiIRC only)* |
14
| -B | Converts the picture window bitmap into a "base64":https://en.wikipedia.org/wiki/Base64 encoded string and stores it into &binvar. *(AdiIRC Only)* |
15 10 Per Amundsen
| -FN | Image format to save to. *(AdiIRC Only)* (default is PNG) |
16 1 Per Amundsen
17
*Parameters*
18
19 9 Per Amundsen
table(ktable).
20
|*Parameter*|*Description*|
21
| <@window> | Window name to save from. |
22
| <&binvar> | Used with -B. *(AdiIRC Only)* |
23
| [x y w h] | The position and size from the picture to save, used with -S. *(AdiIRC only)* |
24
| <filename> | Filename to save to. |
25 1 Per Amundsen
26 6 Per Amundsen
*Image Formats*
27 7 Per Amundsen
28 9 Per Amundsen
table(ktable).
29
|*Format*|*Extension*|
30
| -F0 | .png |
31
| -F1 | .jpg |
32
| -F2 | .bmp |
33
| -F3 | .emf |
34
| -F4 | .exif |
35
| -F5 | .gif |
36
| -F6 | .ico |
37
| -F7 | .tiff |
38
| -F8 | .wmf |