From WikiChip
Difference between revisions of "mirc/commands/drawsave"
< mirc‎ | commands

(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 ==

Revision as of 17:32, 27 March 2023

The /drawsave command saves the content of the specified picture @window to a file (bmp or jpeg).

Synopsis

/drawsave -abNqNv [x y w h] <@win> <filename|&binvar>

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.
  • -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

  • <@win> - the window's name
  • <filename> - the filename you want to save to

Example

None

Compatibility

Added: 5.3

See also

[Expand]
v · d · e mIRC commands list