@@ -432,6 +430,3 @@ const lv_img_dsc_t img_benchmark_cogwheel_argb = { .header.cf = LV_IMG_CF_TRUE_COLOR_ALPHA, .data = img_benchmark_cogwheel_argb_map, }; #endif 5 changes: 0 additions & 5 deletions 5 examples/LVGL/LvglBenchmark/img_benchmark_cogwheel_chroma_keyed.c Or...
cfa color format (LV_IMG_CF_...) Returns the pixel size in bits §lv_img_color_format_is_chroma_keyed() bool lv_img_color_format_is_chroma_keyed(lv_img_cf_tcf) Check if a color format is chroma keyed or not Parameters cfa color format (LV_IMG_CF_...) ...
LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED,/*Same as `LV_IMG_CF_TRUE_COLOR` but LV_COLOR_TRANSP pixels will be transparent*/ LV_IMG_CF_INDEXED_1BIT,/*Can have 2 different colors in a palette (always chroma keyed)*/ LV_IMG_CF_INDEXED_2BIT,/*Can have 4 different colors in a pa...
76LV_IMG_CF_RAW, 77LV_IMG_CF_RAW_ALPHA, 79LV_IMG_CF_RAW_CHROMA_KEYED, 82LV_IMG_CF_TRUE_COLOR, 83LV_IMG_CF_TRUE_COLOR_ALPHA, 84LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED, 87LV_IMG_CF_INDEXED_1BIT, 88LV_IMG_CF_INDEXED_2BIT,
<strong>Chroma keyed</strong> Make LV_COLOR_TRANSP (lv_conf.h) pixels to transparent @@ -88,7 +88,7 @@ function OutputFormat({ colorFormat, outputFormat, setOutputFormat }) { colorFormat == ImageMode.CF_TRUE_COLOR_CHROMA || colorFormat == ImageMode.CF_RGB565A8); return <RowWithLabel...
LV_IMG_CF_RAW_ALPHA Contains the file as it is. The image has alpha. Needs custom decoder function LV_IMG_CF_RAW_CHROMA_KEYED Contains the file as it is. The image is chroma keyed. Needs custom decoder function LV_IMG_CF_TRUE_COLOR ...
242#define LV_CANVAS_BUF_SIZE_TRUE_COLOR(w, h) ((LV_COLOR_SIZE / 8) * w * h) 243#define LV_CANVAS_BUF_SIZE_TRUE_COLOR_CHROMA_KEYED(w, h) ((LV_COLOR_SIZE / 8) * w * h) 244#define LV_CANVAS_BUF_SIZE_TRUE_COLOR_ALPHA(w, h) (LV_IMG_PX_SIZE_ALPHA_BYTE * w *...
<strong>Chroma keyed</strong> Make LV_COLOR_TRANSP (lv_conf.h) pixels to transparent @@ -88,7 +88,7 @@ function OutputFormat({ colorFormat, outputFormat, setOutputFormat }) { colorFormat == ImageMode.CF_TRUE_COLOR_CHROMA || colorFormat == ImageMode.CF_RGB565A8); return <RowWithLabel...