Kulwinder Singh

    Kulwinder Singh

    1 year ago
    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 ?
    Kulwinder Singh

    Kulwinder Singh

    1 year ago
    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

    Zun

    1 year ago
    I am searching for the same thing. As far as I can tell, Coil will load from cache if the image is already loaded
    cb

    cb

    1 year ago
    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.
    Kulwinder Singh

    Kulwinder Singh

    1 year ago
    Looks Good, Thanks @cb and @Zun