Skip to content

DanielCao0/LVGL-V9-PNG-picture-to-C-program

 
 

Repository files navigation

LVGL-V9-PNG-picture-to-C-program,Random updates, please use the latest version

lvgl-v9 png图片转c文件,复制可用(随时更新,请使用最新版)

功能说明:png_rename.py用于帮助你将当前文件夹内的所有png文件自动按照picture_序号.png重命名,防止出现'-'等符号影响生成的c文件中变量声明出现问题 lvgl_img_gen_V1.1.py用于将当前文件夹下的所有png文件按照最新的lvgl-v9格式生成.c文件,文件名称以lv_img_文件名.c为格式,图片描述结构体实例以img_文件名_dsc为格式

png_rename.py is used to help you automatically rename all png files in the current folder according to the picture_id.png, to prevent the occurrence of symbols such as '-' affecting the generated c file variable declaration problems lvgl_img_gen_V1.1.py is used to generate a.c file in the latest lvgl-v9 format for all png files in the current folder. The file name is in lv_img_filename_dsc

微信截图_20240325145800

微信截图_20240322183655

微信截图_20240322183615

微信截图_20240322183602

微信截图_20240322183541

About

lvgl-v9 png图片转c文件,复制可用

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 72.6%
  • C 27.4%