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.
Features
Section titled “Features”Image Manipulation
Section titled “Image Manipulation”- 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
Graphics Drawing
Section titled “Graphics Drawing”- 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)
GIF Creation
Section titled “GIF Creation”- Create animated GIFs
- Add frames dynamically
- Control animation speed and looping
Performance
Section titled “Performance”- Optimized for Skript
- Async support with DiSky integration
- Memory-efficient graphics management
Requirements
Section titled “Requirements”- Skript
v2.14.Xor higher - Paper
1.16.Xor higher
Quick Example
Section titled “Quick Example”# Create an image and draw on itset {_image} to new image with width 500 and height 300set {_graphics} to new graphics from {_image}set anti-aliasing of {_graphics} to true
# Draw a rectangle with gradientset {_gradient} to new horizontal gradient brush with colors red, yellow, blueset {_rect} to new rectangle with width 400 and height 200 and brush {_gradient}draw filled {_rect} on {_graphics} at 50, 50
# Add textset {_font} to new font named "Arial" with style "bold" and size 36set {_text} to new text with content "$fHello World!" with font {_font}draw {_text} on {_graphics} at 250, 150
# Save the imagedispose {_graphics}save image {_image} to "plugins/example.png"What You Can Do
Section titled “What You Can Do”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
Documentation Structure
Section titled “Documentation Structure”Images
Section titled “Images”- Getting Started - Installation and basic setup
- Image Management - Loading, creating, and manipulating images
- Image Effects - Applying visual effects to images
- GIFs - Creating animated GIFs
Graphics
Section titled “Graphics”- Graphics Management - Working with 2D graphics
- Customizations - Anti-aliasing, strokes, and composites
- Brushes - Using gradients, patterns, and textures
- Shape Effects - Glow, shadow, and bevel effects
- Text Drawing - Rendering text with custom fonts
Next Steps
Section titled “Next Steps”- Getting Started - Installation and setup instructions
- Image Management - Learn how to load and manipulate images
- Graphics Management - Start drawing shapes and graphics