Skip to content

🚀 This new wiki is in beta! Please double-check for any issue and report them on the GitHub

Getting Started with SkImage

SkImage is a powerful Skript addon, not directly related to DiSky, used to make image manipulation easier. You can draw shapes, images, apply filters, and all of that optimized for Skript.

In order to use SkImage, you’ll have to download it from the Patreon Resources, and then put the .jar file in your plugins folder.

  • Skript v2.14.X or higher
  • Paper 1.16.X or higher
  1. Download SkImage from the Patreon resources page
  2. Place the .jar file in your server’s plugins folder
  3. Restart your server
  4. Start creating and manipulating images!

Here’s a simple example to get you started:

# Create a new image
set {_image} to new image with width 200 and height 200
# Create graphics object to draw on
set {_graphics} to new graphics from {_image}
set anti-aliasing of {_graphics} to true
# Draw a red rectangle
set {_rect} to new rectangle with width 150 and height 150 and color red
draw filled {_rect} on {_graphics} at 25, 25
# Clean up and save
dispose {_graphics}
save image {_image} to "plugins/my-first-image.png"