Kotlin Multiplatform #131
StefanOltmann
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
I don't have a huge amount of motivation to do the work for this personally, but open to you / anyone else doing some research / proof of concept. After thinking about it a bit my main questions:
This also leaks in to another question for the Java version that's on my mind - I'm wondering if it's worth building libs to give folks an "easy" option for inclusion. But that's potentially a lot of maintenance overhead, and telling folks to use the package manager for their system is easier for the project. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
It would be great to bring libvips to the Kotlin Multiplatform ecosystem. For the JVM, you could integrate it with vips-ffm, while iOS could leverage a native lib through Kotlin's expect/actual mechanism. The approach for Android is less clear, but for JS and wasmJS targets, wasm-vips could be used similarly via expect/actual.
The implementation wouldn't need to cover everything libvips can do (as vips-ffm allows), but focusing on a robust set of common operations would be a practical start.
Currently, SKIA is the only available option. Knowing that libvips exists - and is likely much faster than most alternatives - it would be fantastic to have (for example) a unified thumbnailing API accessible across all platforms.
If it's done, you could present how you accomplished it at KotlinConf. ;)
Beta Was this translation helpful? Give feedback.
All reactions