Hi, is there any api available to select Vibrant or any other color from Image loaded using Coil ? o...
k
Hi, is there any api available to select Vibrant or any other color from Image loaded using Coil ? or i have to use existing palette api ?
k
Great, Thanks @Zun
But in this way how can i avoid loading image twice(one is
rememberCoilPainter
and 2nd is to get color palette) ?
z
I am searching for the same thing. As far as I can tell, Coil will load from cache if the image is already loaded
c
Yes exactly. It's much better to let Coil load a small image for Palette to use, than try and pass the large displayed bitmap around just for Palette to resize it anyway.
k
Looks Good, Thanks @cb and @Zun