Luca Spinazzola
Luca Spinazzola
configOverride is supposed to be internal. Just fyi
@DjuroRad should be fixed in [1.0.0-beta.3](https://github.com/Kamel-Media/Kamel/releases/tag/v1.0.0-beta.3)
So I tried it out and got the same. I don't think I can fix this unfortunately. The `loadSvgPainter` implementation for non-jvm targets is basically directly copied from the jvm...
that's java URI syntax right? So the better way to do it would be either to write your own string mapper and use it in your KamelConfig: https://github.com/Kamel-Media/Kamel/blob/86f216c1df9fafbe54ffb60ad3a11f5861ba5fb4/kamel-core/src/commonMain/kotlin/io/kamel/core/mapper/Mappers.kt#L8-L16 Or.. the...
Also fyi if you did instead `asyncPainterResource(URI("file://path/to/image.png"))` it should work as is.
Thanks for the reference. `io.kamel.core.utils.URI` technically has the same constructor for all targets.. so I could add a way to create one in common if that is desired
I just exposed the URI(str: String) constructor in common. And it's loading the example... but also looks like it works with just a string too 🤔:
It might just be an issue with your path
> Ha! :) > > The path is right as I can load the image if I pass a `java.io.File` built from it. I tried many variations but it doesn't...
Lol, I see now I was editing the ResourcesFetcher test... so obviously loading resources was working 😅 Anyways: https://github.com/Kamel-Media/Kamel/pull/90 you can try it with: `0.10.0-SNAPSHOT` It should be working for...