Lines Matching refs:image
13 Using the :ref:`Image decoder interface <overview_image_decoder>`, custom image formats
22 background style properties <typical bg props>`, and the image itself uses the image
33 To provide maximum flexibility, the source of the image can be:
39 To set the source of an image, use :cpp:expr:`lv_image_set_src(img, src)`.
41 To generate a pixel array from a PNG, JPG or BMP image, use the `Online image converter tool <https…
42 and set the converted image as the image source with its pointer with
44 To make the converted image variable accessible from the C file, declare it with
47 To use external files, you also need to convert the image files using
52 image as the image source with :cpp:expr:`lv_image_set_src(img, "S:folder1/my_img.bin")`.
54 You can also set a symbol as an image source similar to a :ref:`Labels <lv_label>`. In
55 this case, the image will be rendered as text according to the *font*
57 "characters" instead of real images. You can set a symbol as an image source with
60 Label as an image
91 These options can be selected in the image converter. Learn more
97 A color can be mixed with every pixel of an image with a given
99 inactive, pressed, etc.) of an image without storing more versions of
100 the same image. This feature can be enabled in the style by setting
112 displayed image. Useful if the Widget size is smaller than the image
114 or a "running image" effect can be created by :ref:`Animating <animation>` the x or y offset.
129 To rotate the image use :cpp:expr:`lv_image_set_rotation(img, angle_x10)`.
133 By default, the pivot point of the rotation is the center of the image.
141 Transformations require the whole image to be available. Therefore
145 that returns the whole image.
147 Note that the real coordinates of image Widgets do not change with a
151 **IMPORTANT**: The transformation of the image is independent of the transformation
156 - the image is transformed directly without creating an intermediate layer (buffer) to snapshot the…
161 By default the image Widget's width and height are :cpp:enumerator:`LV_SIZE_CONTENT`,
162 meaning that the Widget will be sized automatically to the size of its image source.
166 the image source is aligned inside the Widget.
183 Any ``offset`` value is applied after the image source is aligned. For example setting
185 move the image source up 10 pixels from the center of the Widget.
187 To automatically scale or tile the image, pass one of these ``align`` values:
190 - :cpp:enumerator:`LV_IMAGE_ALIGN_TILE` Tile image to fill Widget's area. Offset is applied to shif…
229 .. include:: ../../examples/widgets/image/index.rst