Skip to content

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

SkImage

SkImage is a premium Skript addon, not directly related to DiSky, designed to make image manipulation easier. You can draw shapes, images, apply filters, create GIFs, and more - all optimized for Skript.

  • Load images from files or URLs
  • Create images from scratch
  • Resize, crop, and round images
  • Apply various effects (blur, brightness, contrast, etc.)
  • Save images in multiple formats
  • Draw shapes (rectangles, circles, polygons, etc.)
  • Custom brushes (gradients, patterns, textures)
  • Text rendering with custom fonts
  • Advanced stroke and anti-aliasing options
  • Shape effects (glow, shadow, bevel)
  • Create animated GIFs
  • Add frames dynamically
  • Control animation speed and looping
  • Optimized for Skript
  • Async support with DiSky integration
  • Memory-efficient graphics management
  • Skript v2.14.X or higher
  • Paper 1.16.X or higher
# Create an image and draw on it
set {_image} to new image with width 500 and height 300
set {_graphics} to new graphics from {_image}
set anti-aliasing of {_graphics} to true
# Draw a rectangle with gradient
set {_gradient} to new horizontal gradient brush with colors red, yellow, blue
set {_rect} to new rectangle with width 400 and height 200 and brush {_gradient}
draw filled {_rect} on {_graphics} at 50, 50
# Add text
set {_font} to new font named "Arial" with style "bold" and size 36
set {_text} to new text with content "$fHello World!" with font {_font}
draw {_text} on {_graphics} at 250, 150
# Save the image
dispose {_graphics}
save image {_image} to "plugins/example.png"

With SkImage, you can:

  • Image Processing: Load, manipulate, and save images
  • Graphics Drawing: Create complex graphics with shapes, text, and effects
  • GIF Creation: Build animated GIFs frame by frame
  • Effects: Apply blur, brightness, contrast, sepia, and more
  • Custom Brushes: Use gradients, patterns, and textures for fills
  • Text Rendering: Draw formatted text with custom fonts
  • Shape Effects: Add glow, shadows, and bevels to objects