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.
Installation
Section titled “Installation”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.
Requirements
Section titled “Requirements”- Skript
v2.14.Xor higher - Paper
1.16.Xor higher
Installation Steps
Section titled “Installation Steps”- Download SkImage from the Patreon resources page
- Place the
.jarfile in your server’spluginsfolder - Restart your server
- Start creating and manipulating images!
Quick Start
Section titled “Quick Start”Here’s a simple example to get you started:
# Create a new imageset {_image} to new image with width 200 and height 200
# Create graphics object to draw onset {_graphics} to new graphics from {_image}set anti-aliasing of {_graphics} to true
# Draw a red rectangleset {_rect} to new rectangle with width 150 and height 150 and color reddraw filled {_rect} on {_graphics} at 25, 25
# Clean up and savedispose {_graphics}save image {_image} to "plugins/my-first-image.png"