DrawMeme - 基于Skiko的奇怪的图片生成器
-
此回复已被删除! -
@YoinSama 之后可能给自定义滤镜
并添加动图支持
-
@tsudzuki 好耶
-
大佬前置装上出现报错
2022-05-16 18:37:51 E/DrawMeme: java.lang.Error: Unknown arch x86
java.lang.Error: Unknown arch x86
at org.jetbrains.skiko.OsArch_jvmKt$hostArch$2.invoke(OsArch.jvm.kt:19)
at org.jetbrains.skiko.OsArch_jvmKt$hostArch$2.invoke(OsArch.jvm.kt:14)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at org.jetbrains.skiko.OsArch_jvmKt.getHostArch(OsArch.jvm.kt:14)
at org.jetbrains.skiko.OsArch_jvmKt$hostId$2.invoke(OsArch.jvm.kt:24)
at org.jetbrains.skiko.OsArch_jvmKt$hostId$2.invoke(OsArch.jvm.kt:23)
at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
at org.jetbrains.skiko.OsArch_jvmKt.getHostId(OsArch.jvm.kt:23)
at org.jetbrains.skiko.Library.findAndLoad(Library.kt:73)
at org.jetbrains.skiko.Library.load(Library.kt:59)
at org.jetbrains.skia.impl.Library$Companion.staticLoad(Library.jvm.kt:12)
at org.laolittle.plugin.SkikoMirai.loadSkikoLibrary(SkikoMirai.kt:94)
at org.laolittle.plugin.Fonts.<clinit>(Fonts.kt:52)
at org.laolittle.plugin.draw.DrawMeme.onEnable(DrawMeme.kt:47)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:117)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:164)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:36)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:47)
at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:135)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:177)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:202)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:392)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:156)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:155)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:47) -
@Anuo阿诺 不支持 x86 jvm
-
此回复已被删除! -
@tsudzuki 前置换了1.0.7后可以了 现在插件报错
2022-05-17 03:19:18 E/DrawMeme: java.lang.NoClassDefFoundError: org/jetbrains/skia/impl/Library
java.lang.NoClassDefFoundError: org/jetbrains/skia/impl/Library
at org.laolittle.plugin.SkikoMirai.loadSkikoLibrary(SkikoMirai.kt:95)
at org.laolittle.plugin.Fonts.<clinit>(Fonts.kt:45)
at org.laolittle.plugin.draw.DrawMeme.onEnable(DrawMeme.kt:47)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:117)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:164)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:36)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:47)
at net.mamoe.mirai.console.plugin.PluginManager.enablePlugin(PluginManager.kt:135)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:177)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:202)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:392)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:156)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:155)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:47)
Caused by: java.lang.ClassNotFoundException: org.jetbrains.skia.impl.Library
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoader.findClass$mirai_console(JvmPluginClassLoader.kt:110)
at net.mamoe.mirai.console.internal.plugin.JvmPluginClassLoader.findClass(JvmPluginClassLoader.kt:51)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
... 15 more -
@Anuo阿诺 使用legacy,不过估计也还是会出现之前那个错误
-
@tsudzuki 改用了1.0.1的前置出现无法找到字体的报错 字体已经全放进去了
-
@Anuo阿诺 删除
config/org.laolittle.plugin.SkikoMirai/Fonts.yml
再启动console -
@tsudzuki 还是一样的报错
-
@tsudzuki 现在用的前置1.0.1 插件1.0.2 已经成功开启了 谢谢大佬
-
更新1.0.7
#bw
支持动图,可自定义滤镜
https://github.com/LaoLittle/DrawMeme/releases/tag/1.0.7 -
@tsudzuki 在
data/org.laolittle.plugin.draw.DrawMeme/bw
(没有就新建)下创建文件,输入以下内容meme: martix 自定义名字 0.33F, 0.38F, 0.29F, 0F, 0F, 0.33F, 0.38F, 0.29F, 0F, 0F, 0.33F, 0.38F, 0.29F, 0F, 0F, 0.33F, 0.38F, 0.29F, 1F, 0F,
就会将名字下方的颜色矩阵解析
发送
#bw 文字 --自定义名字
即可使用本滤镜支持多文件
关于颜色矩阵,可以参考以下资料
https://docs.rainmeter.net/tips/colormatrix-guide/ -
佬佬这是什么情况呢
-
-
emoj 表情合成很棒! 但是每次使用虽然好使但是会抛出异常
io.ktor.client.features.ClientRequestException: Client request(https://www.gstatic.com/android/keyboard/emojikitchen/20201001/u1f624/u1f624_u1f92e.png) invalid: 404 -
-
你好,我原本使用DrawMeme-1.0.3 SkikoMirai-1.0.2 可以正常运行,但把两个插件替换为最新版本,就会在启动时报错,我看论坛中有相同错误
2022-05-19 12:12:17 E/main: Failed to init MiraiConsole.
net.mamoe.mirai.console.plugin.loader.PluginLoadException: Plugin 'org.laolittle.plugin.draw.DrawMeme' ('org.laolittle.plugin.draw.DrawMeme') requires 'org.laolittle.plugin.SkikoMirai' with version >=1.0.3 while the resolved is 1.0.8
at net.mamoe.mirai.console.internal.plugin.PluginManagerImplKt.checkSatisfies(PluginManagerImpl.kt:261)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.sortByDependencies$canBeLoad(PluginManagerImpl.kt:204)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.sortByDependencies$consumeLoadable(PluginManagerImpl.kt:210)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.sortByDependencies$doSort(PluginManagerImpl.kt:222)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.sortByDependencies$doSort(PluginManagerImpl.kt:230)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.sortByDependencies(PluginManagerImpl.kt:233)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.listAndSortAllPlugins(PluginManagerImpl.kt:192)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.findAndSortAllPluginsUsingBuiltInLoaders(PluginManagerImpl.kt:135)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.loadAllPluginsUsingBuiltInLoaders$mirai_console(PluginManagerImpl.kt:145)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:151)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:401)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon(MiraiConsoleTerminalLoader.kt:156)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.startAsDaemon$default(MiraiConsoleTerminalLoader.kt:155)
at net.mamoe.mirai.console.terminal.MiraiConsoleTerminalLoader.main(MiraiConsoleTerminalLoader.kt:47)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.itxtech.mcl.Utility.bootJars(Utility.java:89)
at org.itxtech.mcl.Utility.bootJars(Utility.java:79)
at org.itxtech.mcl.Utility.bootMirai(Utility.java:103)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:138)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:226)
at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1692)
at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:1013)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:412)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3578)
at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:107)
at org.mozilla.javascript.ArrowFunction.call(ArrowFunction.java:43)
at org.mozilla.javascript.InterfaceAdapter.invokeImpl(InterfaceAdapter.java:155)
at org.mozilla.javascript.InterfaceAdapter.lambda$invoke$0(InterfaceAdapter.java:105)
at org.mozilla.javascript.Context.call(Context.java:554)
at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:522)
at org.mozilla.javascript.InterfaceAdapter.invoke(InterfaceAdapter.java:105)
at org.mozilla.javascript.jdk18.VMBridge_jdk18$1.invoke(VMBridge_jdk18.java:126)
at com.sun.proxy.$Proxy4.run(Unknown Source)
at org.itxtech.mcl.script.ScriptManager.phaseBoot(ScriptManager.java:106)
at org.itxtech.mcl.Loader.lambda$start$3(Loader.java:178)
at org.itxtech.mcl.Loader.tryCatching(Loader.java:147)
at org.itxtech.mcl.Loader.start(Loader.java:178)
at org.itxtech.mcl.Loader.main(Loader.java:70) -
@yuanbolin 没有的表情就会抛错,我到时候做个过滤吧