Kotlin/Native 基本图像处理
Kotlin/Native Basic Image manipulation
Kotlin/Native 是否支持任何图像处理库?
(我的目标是 Windows & Linux)
我在 google 上没有找到任何不针对 JVM/Android 的内容,但我是 Kotlin 生态系统的新手,所以答案可能就在我眼前。
我正在寻找基本操作:
- open/save 图片(jpg, png)
- 调整大小
- 提取作物
如果没有,我是否应该尝试为 stb-image 或 opencv 等 C 图像处理库创建绑定?
有个korim library, that might help you. Also, there are several places you can find more info on Kotlin/Native libraries, like here and here.
The option with C library seems also like a good idea. If you'll got some problems with it, feel free to ask here on in Kotlin Slack (get an invite here).
Kotlin/Native 是否支持任何图像处理库? (我的目标是 Windows & Linux)
我在 google 上没有找到任何不针对 JVM/Android 的内容,但我是 Kotlin 生态系统的新手,所以答案可能就在我眼前。
我正在寻找基本操作:
- open/save 图片(jpg, png)
- 调整大小
- 提取作物
如果没有,我是否应该尝试为 stb-image 或 opencv 等 C 图像处理库创建绑定?
有个korim library, that might help you. Also, there are several places you can find more info on Kotlin/Native libraries, like here and here.
The option with C library seems also like a good idea. If you'll got some problems with it, feel free to ask here on in Kotlin Slack (get an invite here).