/* Check if a color format is chroma keyed or not  */
bool lv_img_cf_is_chroma_keyed(lv_img_cf_t cf)
/* Check if a color format is chroma keyed or not  */
bool lv_img_cf_is_chroma_keyed(lv_img_cf_t cf)
{
    bool is_chroma_keyed = false;
    switch(cf) {
        case LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED:
        case LV_IMG_CF_RAW_CHROMA_KEYED:
            is_chroma_keyed = true;
            break;
        default:
            is_chroma_keyed = false;
            break;
    }
    return is_chroma_keyed;
}