Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.

Create Image

SkyCraft78 edited this page Jan 6, 2021 · 1 revision

Image are stored in Skript variable. When you create a newimage, you have to set the initial width and height of the image. These two options can be edited later with the Resized expression. So, as the docs say, here's the syntaxe for creating a new image:

[skimage] new image with [width] %integer% and [with] [height] %integer%
# OR #
[skimage] new image with size %integer%[ ][,][ ]%integer%

I prefer the second one, more faster to write ;) Then, if I wanna create a 150x150 pixel image, I'll write:

set {_image} to new image with size 150, 150

{_image} will now contain my created image.

Clone this wiki locally