From WikiChip
Difference between revisions of "mirc/commands/drawsave"
(→Synopsis) |
(→Switches) |
||
Line 9: | Line 9: | ||
* '''-bN''' - allows you to specify the bit depth of the saved file, which can be 1, 4, 8, 16, 24, or 32. | * '''-bN''' - allows you to specify the bit depth of the saved file, which can be 1, 4, 8, 16, 24, or 32. | ||
* '''-qN''' - allows you to specify the quality of the jpeg file that is being saved, where N is between 1 and 100. | * '''-qN''' - allows you to specify the quality of the jpeg file that is being saved, where N is between 1 and 100. | ||
+ | * '''-v''' - means that you specified a binvary variable to save the content to, instead of saving to disk. | ||
== Parameters == | == Parameters == |
Latest revision as of 16:32, 27 March 2023
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /drawsave command saves the content of the specified picture @window to a file (bmp or jpeg).
Synopsis[edit]
/drawsave -abNqNv [x y w h] <@win> <filename|&binvar>
Switches[edit]
- -a - means that you specified the [x y w h] parameters, representing the region to be saved
- -bN - allows you to specify the bit depth of the saved file, which can be 1, 4, 8, 16, 24, or 32.
- -qN - allows you to specify the quality of the jpeg file that is being saved, where N is between 1 and 100.
- -v - means that you specified a binvary variable to save the content to, instead of saving to disk.
Parameters[edit]
- <@win> - the window's name
- <filename> - the filename you want to save to
Example[edit]
None
Compatibility[edit]
Added: 5.3
See also[edit]
mIRC commands list