-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compose Multiplatform support #9
Comments
Thanks to @DSteve595, |
Hi @saket! From what I can gather multiplatform in this context means Android and Desktop right? I can only see the Android and Desktop versions of the zoomable library published. |
Yep! Wanna help out by sending a PR? 😊 |
For folks following this issue, Coil has started publishing experimental builds with multiplatform support. I'm going to wait a bit for its APIs and maven coordinates to settle before integrating it with telephoto. |
Hi, does it mean telephoto will support wasm target soon as well? |
@LOOHP I don't have any plans for the web yet. Are you actually displaying large images on the web that require subsampling? |
I'm working on displaying a large railway system map with each station being clickable to perform some action. So it needs to stay HD when it is zoomed in. |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as spam.
This comment was marked as spam.
If the zoomable modifier already is KMP compatible, could a KMP compatible release be made for just the modifier? I am unable to use this in a KMP project as-is, but I only need the modifier |
telephoto/gradle/build-logic/convention/src/main/kotlin/KotlinMultiplatformConventionPlugin.kt Lines 25 to 27 in 16bc5f9
|
@saket I am looking to target Android and iOS primarily |
I've created a PR #102 but I'm not sure if this makes sense. Is there a way to make iOS targets for just the Modifier library? |
Migrating
Modifier.zoomable()
to multiplatformshould be easyis done, butSubSamplingImage()
will need to be decoupled from Android'sBitmapRegionDecoder
for lazy loading of bitmap tiles.Target platforms
JVM
javax.imageio.ImageIO
+ImageReadParam#setSourceRegion
can be used. Example usage.Apple
For loading of images, @colinrtwhite plans to migrate Coil to multiplatform in v3.
The text was updated successfully, but these errors were encountered: