Hello guys~ After rewriting the palette library fo...
# multiplatform
u
Hello guys~ After rewriting the palette library for Android in pure Kotlin (commonMain only) to create a KMP project , I built it for JS, Android, and iOS. If I use the Kotlin version of the Palette on each platform, Android and iOS bring almost the same color values, but JS brings completely different colors. I checked that the input image buffers were the same for all three platforms. It seems that something is lost when the code written in Kotlin is converted to JS but I am not good at JS but only Android so I couldn’t check it yet. Is there anyone who can comment or give me some clues on this?
👍 1
K 2
❤️ 2