Lines Matching refs:color
17 - *cf* Color format. See [below](#color-format)
36 Various built-in color formats are supported:
37 - **LV_IMG_CF_TRUE_COLOR** Simply stores the RGB colors (in whatever color depth LVGL is configured…
39 …ED** Like `LV_IMG_CF_TRUE_COLOR` but if a pixel has the `LV_COLOR_TRANSP` color (set in *lv_conf.h…
41 …color of `style.img_recolor` and the set opacity. The source image has to be an alpha channel. Thi…
45 For 32-bit color depth:
51 For 16-bit color depth:
56 For 8-bit color depth:
61 …a *Raw* format to indicate that it's not encoded with one of the built-in color formats and an ext…
80 3. Select the [Color format](#color-formats).
84 …rays (variables), bitmaps for all the color depths (1, 8, 16 or 32) are included in the C file, bu…
86 In the case of binary files, you need to specify the color format you want:
87 - RGB332 for 8-bit color depth
88 - RGB565 for 16-bit color depth
89 - RGB565 Swap for 16-bit color depth (two bytes are swapped)
90 - RGB888 for 32-bit color depth
103 .header.cf = LV_IMG_CF_TRUE_COLOR, /*Set the color format*/
109 If the color format is `LV_IMG_CF_TRUE_COLOR_ALPHA` you can set `data_size` like `80 * 60 * LV_IMG_…
131 As you can see in the [Color formats](#color-formats) section, LVGL supports several built-in image…
136 - **info** get some basic info about the image (width, height and color format).
151 …color* by the library. In other words, the image decoder must decode the *Raw* images to *True col…
153 …ODED_0..7` color formats. However, the library can draw images only in *True color* format (or *Ra…
154 …hey should be decoded to one of the known formats from the [Color formats](#color-formats) section.
155 …a non-true color format first (for example: `LV_IMG_INDEXED_4BITS`) and then call the built-in dec…
157 With *User encoded* formats, the color format in the open function (`dsc->header.cf`) should be cha…
209 /*Change the color format if required. For PNG usually 'Raw' is fine*/
212 …function if required. It's not required if`my_png_decoder` opened the image in true color format.*/
234 /*Copy `len` pixels from `x` and `y` coordinates in True color format to `buf` */
258 However, if you can open the image, a pointer to the decoded *True color* image should be set in `d…
270 The `color` parameter is used only with `LV_IMG_CF_ALPHA_1/2/4/8BIT` images to tell color of the im…
278 res = lv_img_decoder_open(&dsc, &my_img_dsc, color, frame_id);