$imageCreate

Creates a new, blank image with specified dimensions.

Usage

$imageCreate[width;height]

Parameters:

  • width: The width of the new image in pixels.
  • height: The height of the new image in pixels.

Returns:

This function creates a blank image and stores it for further processing with other image manipulation functions (e.g., $imageFill, $image). You can then use $imageOutput to display or save the resulting image.

Example

This example creates a 300x300 pixel image, fills it with the color red, and then displays the image.

!!exec $imageCreate[300;300]
$imageFill[red]
$image[$imageOutput]
Member04/04/2025
!!exec $imageCreate[300;300]
$imageFill[red]
$image[$imageOutput]

Custom Command Bot 04/04/2025