lvgl / lv_img_conv

Image converter for LVGL, written in JS
https://lvgl.github.io/lv_img_conv/
Other
94 stars 42 forks source link

How to convert image to .bin #1

Closed Yohannfra closed 3 years ago

Yohannfra commented 3 years ago

Hello, I'm trying to use this script to convert a bunch of png files to .bin but can't find the flag to do so.

Thanks

embeddedt commented 3 years ago

Currently this converter can only output C files, not .bin files. However, I do plan to add support for the other format eventually.

Related: https://github.com/lvgl/lv_utils/issues/38#issuecomment-916258582

Yohannfra commented 3 years ago

Ok thanks for your answer. Since I need to convert many images to .bin format I made a script that uses the old php image converter to help me do so.

You can find it here if you or anyone in the future needs it https://github.com/Yohannfra/lvgl_batch_image_converter

Thanks

embeddedt commented 3 years ago

A very untested version of this is now implemented. See https://github.com/lvgl/lv_utils/issues/38#issuecomment-922145968.