From WikiChip
Difference between revisions of "mirc/commands/drawsave"
m (Bot: Fixing links) |
m (Update for v7.78) |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | The '''/drawsave command''' saves the | + | {{mirc title|/drawsave Command}} |
+ | The '''/drawsave command''' saves the content of the specified picture @window to a file (bmp or jpeg). | ||
== Synopsis == | == Synopsis == | ||
− | /drawsave - | + | /drawsave -abNqNvNdu @ [x y w h] <filename|&binvar> |
== Switches == | == Switches == | ||
+ | * '''-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. | * '''-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. | ||
+ | * '''-vN''' - means that you specified a binvary variable to save the content to, instead of saving to disk, where N is optional and can be p = png, g = gif, j = jpg. | ||
+ | * '''-du''' - dither and quantize the bitmap, for use with the -b switch. | ||
== Parameters == | == Parameters == | ||
Line 17: | Line 21: | ||
== Compatibility == | == Compatibility == | ||
Added: 5.3 | Added: 5.3 | ||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
Line 28: | Line 28: | ||
{{mIRC command list}} | {{mIRC command list}} | ||
− | [[Category: | + | [[Category:mIRC commands|drawsave command - mIRC]] |
Latest revision as of 12:32, 27 November 2024
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 -abNqNvNdu @ [x y w h] <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.
- -vN - means that you specified a binvary variable to save the content to, instead of saving to disk, where N is optional and can be p = png, g = gif, j = jpg.
- -du - dither and quantize the bitmap, for use with the -b switch.
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