docs(examples): introduce summary and description to examples (#9968)

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
This commit is contained in:
Mutahhar Mustafa Khan
2026-04-20 13:05:57 +01:00
committed by GitHub
parent 2531ef7738
commit d76a346376
301 changed files with 2578 additions and 191 deletions
+6
View File
@@ -0,0 +1,6 @@
---
title: "libpng"
order: 45
---
Reference PNG decoder implementation. Enable with `LV_USE_LIBPNG` in `lv_conf.h`.
+8 -1
View File
@@ -4,7 +4,14 @@
#if LV_USE_LIBPNG
/**
* Open a PNG image from a file
* @title PNG from array and file with libpng
* @brief Show the same PNG decoded from an embedded array and from a file path.
*
* Two image widgets are created on the active screen. The left one binds
* to the `img_png_demo` descriptor declared with `LV_IMAGE_DECLARE`, and
* the right one reads `A:lvgl/examples/libs/libpng/png_demo.png` through
* the filesystem driver registered under drive letter `A`. Both routes
* go through the libpng image decoder.
*/
void lv_example_libpng_1(void)
{