From WikiChip
$pic Identifier - mIRC
< mirc‎ | identifiers

$pic returns size informations about .bmp, .jpg or .png filenames


Synopsis[edit]

$pic(filename)

Paramters[edit]

  • filename - The filename you want the size informations of

Properties[edit]

  • .height - Returns the height of the picture
  • .width - Returns the width of the picture
  • .size - return the product of the width by the height, this value is returned by default if no property is specified

Example[edit]

//echo -a $pic(C:\K.png)

Compatibility[edit]

Added: mIRC v5.3
Added on: 13 Dec 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]

$window $getdot $width $height $inellipse $inrect $inroundrect $inpoly $onpoly $rgb $mouse