Project

General

Profile

Drawsave » History » Revision 9

Revision 8 (Per Amundsen, 10/17/2022 11:36 AM) → Revision 9/10 (Per Amundsen, 02/16/2023 12:22 PM)

_Added in 1.9.0_ 

 */drawsave -bNqNSBFN <@window|&binvar> [x y w h] <filename>* 

 Saves the background picture of the specified picture @window to a file. 

 *Switches* 

 table(ktable). 
 |*Switch*|*Description*| 
 | -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. | 
 | -S | - Indicates [x y w h] is specified to save only a specific position and size of the picture. *(AdiIRC only)* | 
 | -B | - Converts the picture window bitmap into a "base64":https://en.wikipedia.org/wiki/Base64 encoded string and stores it into &binvar. *(AdiIRC Only)* | 
 .FN - Image format to save to. *(AdiIRC Only)* (default is PNG) 

 *Parameters* 

 table(ktable). 
 |*Parameter*|*Description*| 
 | <@window> | - Window name to save from. | 
 | <&binvar> | - Used with -B. *(AdiIRC Only)* | 
 | [x y w h] | - The position and size from the picture to save, used with -S. *(AdiIRC only)* | 
 | <filename> | - Filename to save to. | 

 *Image Formats* 

 table(ktable). 
 |*Format*|*Extension*| 
 | -F0 | = .png | 
 | -F1 | = .jpg | 
 | -F2 | = .bmp | 
 | -F3 | = .emf | 
 | -F4 | = .exif | 
 | -F5 | = .gif | 
 | -F6 | = .ico | 
 | -F7 | = .tiff | 
 | -F8 | = .wmf |