Project

General

Profile

Drawsave » History » Version 5

Per Amundsen, 10/17/2022 05:26 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3 5 Per Amundsen
*/drawsave -bNqNSB <@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 3 Per Amundsen
-bN - allows you to specify the bit depth of the saved file, which can be 1, 4, 8, 16, 24, or 32.
10 1 Per Amundsen
-qN - allows you to specify the quality of the jpeg file that is being saved, where N is between 1 and 100.
11
-S - Indicates [x y w h] is specified to save only a specific position and size of the picture. *(AdiIRC only)*
12 5 Per Amundsen
-B - Converts the picture window bitmap into a "base64":https://en.wikipedia.org/wiki/Base64 encoded png string and stores it into &binvar. *(AdiIRC Only)*
13 1 Per Amundsen
14
*Parameters*
15
16
<@window> - Window name to save from.
17 5 Per Amundsen
<&binvar> - Used with -B. *(AdiIRC Only)*
18 4 Per Amundsen
[x y w h] - The position and size from the picture to save, used with -S. *(AdiIRC only)*
19 1 Per Amundsen
<filename> - Filename to save to.