Comments (5)
Just added support for that. It will be available in the next release. You can also check it now using the snapshots repository.
from kamel.
Have you tried using imageResource or imageFromResource?
Because it seems these methods use the same functionality to load from a jar.
from kamel.
Yes, that's what I used so far. But having a single API would be nicer.
from kamel.
Thanks, I'll give it a try as soon as the release is out and I get back to Compose.
from kamel.
Please checkout the new version I just published 0.2.0
. I'm closing this issue.
from kamel.
Related Issues (20)
- Add wasmJS target HOT 7
- how to skip memory cache in kamel HOT 1
- File URLs should be handled as such on JVM platform HOT 16
- Make heavyweight dependencies optional HOT 3
- Problem with SVG on iOS HOT 1
- Expand onSuccess to function parameter HOT 2
- KamelImage fills up max size HOT 5
- Is it possible to have access to the image Height when the resource state is Loading or Error? HOT 3
- KamelConfig.Default does not load automatically with v1 beta HOT 17
- Support compose multiplatform for kotlin/JS [1.6.0] HOT 2
- Ability to trigger reload on loading failure HOT 2
- Persistent cache is not working HOT 2
- Bug: animation triggers every time the loading progress changes HOT 1
- Disk cache doesn't work on iOS and Android HOT 4
- Can't load images from disk cache when offline HOT 1
- Base64 Encoded Images HOT 3
- 1.0.0-beta.6 compatibility with latest stable Ktor HOT 3
- iOS-only: `IrCallImpl: 1` compilation error when passing a Kamel `File` to `asyncPainterResource` with Kotlin 2.0.0 HOT 6
- Duplicate class co.touchlab.stately.collections.FunctionsKt HOT 5
- How to load image bitmap? HOT 31
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kamel.