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