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

m (Update for v7.78)
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
  
 
== Synopsis ==
 
== Synopsis ==
  /drawsave -abNqN [x y w h] <@win> <filename>
+
  /drawsave -abNqNvNdu @ [x y w h] <filename|&binvar>
  
 
== Switches ==
 
== 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.
 +
* '''-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 ==

Latest revision as of 13:32, 27 November 2024

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]

[Expand]
v · d · e mIRC commands list