Skip to content

Releases: ItsTheSky/SkImage

Gif support, bugfixes and more!

10 Apr 13:35
Compare
Choose a tag to compare

This update provides support for Gif images!
You can now create a new (infinite or not) Gif, with a specific delay and your images.
Here's an example code that'll generate a gif:
(Background changing to a random color infinitely)

set {_img::1} to new image with size 100, 100
set {_img::2} to new image with size 100, 100
set {_img::3} to new image with size 100, 100
set {_img::4} to new image with size 100, 100
set {_img::5} to new image with size 100, 100
set {_gif} to new infinite gif manager with new image with size 100, 100 with delay 1 and store it in file "test.gif"
set {_offset}
loop 5 times:
	set {_r} to random integer between 0 and 255
	set {_g} to random integer between 0 and 255
	set {_b} to random integer between 0 and 255
	change background of {_img::%loop-number%} to color from rgb {_r}, {_g}, {_b}
	add {_img::%loop-number%} to images of {_gif}
		
close gif {_gif}

1.8

05 Mar 14:25
Compare
Choose a tag to compare
1.8

This small release improves some features of SkImage while preparing the arrival of new effects and expressions.

🐛 Bugfixes

#3 has been fixed, every syntax now use number as an argument and can support both integer and double / float
SkImage now use Skript Color, instead of global java.awt colors. This Means SkImage brings compatibility with every addon already using this sort of color.
Fixed draw image effect that threw expression when the first imùage were transparent and not the second one.
Fixed align center for text, that took the shape itself instead of the middle of the text.

✨ Additions

You can now define an angle size in the rounded expression, that's will change how to round the actual image
Text can be centered vertically

⚠️ Warning

This release rework the way to write on images, you must now use text info in order to do that:

        set {_image} to new image with size 500, 500
        set {_font} to new font style with name "Arial Black" and with size 16
        set {_text} to new text "Hello World" with color from rgb 255, 255, 255 with font {_font} centered vertically centered horizontally
        draw {_text} at 150, 150 on {_image}
        save image {_image} to file "plugins/image.png"

Full Changelog: 1.7.1...1.8

⬇️ Download HERE

Fixed error with Number conversion

12 Aug 21:02
Compare
Choose a tag to compare

This small update fixes the conversion of Numbers in some effect/expression.
Thanks to Stemon8 for his report ❤️

Hotfix of the variable usage.

12 Aug 17:19
Compare
Choose a tag to compare

Since 1.0, SkImage used integer as Skript type in syntaxes, instead of number.
By that, variables (either local or not) were unusable, and it's now fixed!

Smoothing option, bugfixes and more!

13 Jun 19:48
Compare
Choose a tag to compare

This small release introduces new anti-aliases option for draw text, rectangle & rounded rectangle effect.
Plus, rotation (with an optional anchor) is available for every draw effect :p
Lastly, a bug that prevents variables to be used in the draw effect is fixed ^^

One commit ... yeah XD

22 May 20:08
Compare
Choose a tag to compare

Simple update, but this one fix the alpha channel (or alpha colors in general) which aren't managed everytime by SkImage.

Filters update

28 Feb 20:47
Compare
Choose a tag to compare

You can now use custom filters to edit your image.
I have also added new page on the wiki which explain all filters ^^

Introduce new Base64 conversion

13 Feb 21:38
Compare
Choose a tag to compare

Hello!
New update, with some bugfixed and mainly new features :D
You can now convert bas string to an image, and also convert image to bas string!
Docs are also updated, don't forget to see them (There's some example ^^)

Custom font and some Bugfixes

03 Feb 14:37
Compare
Choose a tag to compare

Hey!
New release of image edition with Skript :p
I'm introducing a new smal feature, which allow you to register your own font from file or whole folder!
You can then use them with the font expression, via the font's name! (Not the file's name)
Plus, I fixed UTF-8 encode system and big error when we paste two image on each other (return new weird image)
Bye and good afternoon!

Added new syntaxes and some bugfixes

07 Jan 19:54
Compare
Choose a tag to compare

Hello 😄
Today's update add a lot of new syntaxes to make your image as you want 😉
Here's list of adde / fixed features:

+ Added expression to get image from locale file
+ Added effect to draw line
+ Added effect to draw rounded rectangle with custom arcs
+ Added DrawString effect to make the text center
+ Added image rounded expression

~ Fixed version configuration in the build.gradle

Don't forget to star the github, or ask me new features in issue section ^^
Have a nice evening !