$imageSetOpacity

set global opacity for anything the image builder draw next

Usage

$imageSetOpacity[opacity]

opacity:

Its a value between 0-100, 0 means fully transparent, 100 means fully opaque

Example:

$imageSetOpacity[50]

Example:

Member05/28/2024
!!exec ?exec $let[avatar;$replaceText[$authoravatar;.webp;.png]]
$imageCreate[300;300]
$imageLoadFromURL[avatar;$avatar]
$imageDraw[avatar;100;10;100;100]
$imageSetOpacity[50]
$imageDraw[avatar;100;190;100;100]
$image[$imageOutput]

Custom Command Bot 05/28/2024