{"id":18301396,"url":"https://github.com/lvgl/lv_lib_bmp","last_synced_at":"2025-07-11T16:34:42.661Z","repository":{"id":45306777,"uuid":"283138550","full_name":"lvgl/lv_lib_bmp","owner":"lvgl","description":"BMP decoder library for LVGL","archived":true,"fork":false,"pushed_at":"2025-06-24T06:34:37.000Z","size":87,"stargazers_count":12,"open_issues_count":1,"forks_count":12,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-11T16:17:53.372Z","etag":null,"topics":["bmp","c","embedded","lvgl"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lvgl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-07-28T07:43:01.000Z","updated_at":"2025-06-24T06:34:56.000Z","dependencies_parsed_at":"2022-09-12T02:11:03.790Z","dependency_job_id":null,"html_url":"https://github.com/lvgl/lv_lib_bmp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"lvgl/template","purl":"pkg:github/lvgl/lv_lib_bmp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvgl%2Flv_lib_bmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvgl%2Flv_lib_bmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvgl%2Flv_lib_bmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvgl%2Flv_lib_bmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lvgl","download_url":"https://codeload.github.com/lvgl/lv_lib_bmp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lvgl%2Flv_lib_bmp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264851643,"owners_count":23673270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bmp","c","embedded","lvgl"],"created_at":"2024-11-05T15:15:55.143Z","updated_at":"2025-07-11T16:34:42.652Z","avatar_url":"https://github.com/lvgl.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BMP decoder for LVGL\n\n**This repository is merged into the lvgl repository and archived. See https://docs.lvgl.io/master/details/libs/bmp.html**\n\n**This repository is merged into the lvgl repository and archived. See https://docs.lvgl.io/master/details/libs/lodepng.html**\n\nAllow the use of BMP images in LVGL. \nThis implementation uses [bmp-decoder](https://github.com/caj-johnson/bmp-decoder) library.\nThe pixel are read on demand (not the whole image is loaded) so using BMP imgages requires very little RAM.\n\nCompatible with LVGL's `feat/new-fs-api` branch. \nIf you use the [lv_fs_if](https://github.com/lvgl/lv_fs_if) repository it's `new-api` branch should be used.\n\n## Get started\n- Download or clone this repository\n  - [Download from GitHub](https://github.com/littlevgl/lv_lib_bmp/archive/master.zip)\n  - Clone: `git clone https://github.com/lvgl/lv_lib_bmp.git`\n- Include the library: `#include \"lv_lib_bmp/lv_bmp.h\"`\n- Initalize the decocer with `lv_bmp_init();`\n- Test with the following code:\n```c;\n    lv_obj_t * img = lv_img_create(lv_scr_act());\n    lv_img_set_src(img, \"S/path/to/image.bmp\");\n```\n\n## Limitations\n- BMP files can be loaded only from file. If you want to store them in flash it's better to convert them to C array with [LVGL's image converter](https://lvgl.io/tools/imageconverter).\n- The BMP files color format needs to match with `LV_COLOR_DEPTH`. Use GIMP to save the image in the required format.\n  RGB888 and ARGB888 works with `LV_COLOR_DEPTH 32`\n- Palette is not supported.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvgl%2Flv_lib_bmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flvgl%2Flv_lib_bmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flvgl%2Flv_lib_bmp/lists"}