Stefan Oltmann
12/20/2023, 9:42 AMSvyatoslav Kuzmich [JB]
12/20/2023, 10:16 AMEdoardo Luppi
12/20/2023, 12:42 PMkim
. Is there a technical reason as to why it doesn't support JS? Just curious.Michael Paus
12/20/2023, 12:49 PMLeoColman
12/20/2023, 12:52 PMStefan Oltmann
12/20/2023, 1:07 PMIs there a technical reason as to why it doesn't support JS?I opted not to incorporate JS support in Kim as it was unnecessary for Ashampoo Photos. However, inspired by @Michael Paus's recommendation to embrace WASM and fueled by my curiosity to explore this emerging technology, I decided to integrate WASM support into Kim. This has now equipped me for a potential Compose for Web version of Photos. So it seems worth the effort. I don't know how much effort a JS version would be. If it's not too much I might bring it - just for completeness. Or is the old JS target deprecated now?
Edoardo Luppi
12/20/2023, 1:19 PMOr is the old JS target deprecated now?No no, not deprecated, I hope it never will lol It was just out of curiosity so no pressure. Normally I try to support all the stable targets and as many Native Tiers as possible.
Stefan Oltmann
12/20/2023, 2:09 PMjs()
target to https://github.com/Ashampoo/xmpcore (the XMP dependency for Kim), but it won't compile with Cannot check for external interface: ProcessingInstruction
So it won't be as easy as just adding the targets, but might need a bigger refactoring.
I'll accept PRs adding the js()
target to XMP Core & Kim, but I might not find time to add it myself.Svyatoslav Kuzmich [JB]
12/20/2023, 5:43 PMStefan Oltmann
12/20/2023, 5:43 PMStefan Oltmann
12/21/2023, 8:19 AMIt would be nice though if you could also evaluate the orientation flag for showing the thumbnail.https://github.com/StefanOltmann/exif-viewer/issues/1
Stefan Oltmann
12/26/2023, 4:06 PM