Hi, is there any way to create an animated .gif fr...
# korge
m
Hi, is there any way to create an animated .gif from a set of images generated with
bitmap.writeTo(localvfs("file.png"), PNG)
, so that they are played like an animation? I know how do to it in Java, but I cannot import .java classes into korge
d
You can create the GIF from outside KorGE by using ffmpeg for example. Then KorIM supports loading GIF files
m
Thanks. Is it actually possible to include java imoprts into korge?
d
Only on the JVM/Android target
if you plan to target only to a JAR, you can create this folder:
src/jvmMain/kotlin
then you can access to all the Java APIs
m
I think for now I'll target only to a JAR. Creating the folder works fine, thank you
👍 1