glory-man

Results 15 comments of glory-man

> If you use lvgl v8 can you try lvgl master? The PNG lib was merged there: > > https://docs.lvgl.io/master/libs/png.html I use lvgl v7.6.1 and code from lv_png v7 branch

One more moment. For example, I use png from [this](https://github.com/lvgl/lv_lib_png/issues/23) issue. This picture have white car on a black background with blur under the car body ![car_noalpha](https://user-images.githubusercontent.com/77978519/140531786-c4ed9341-c820-4bae-9072-6ececd549adc.jpg) Alpha channel ![car_alpha](https://user-images.githubusercontent.com/77978519/140531844-702a0aa0-73a2-4273-a4a3-f0b0436881cf.jpg)...

> I suggest taking a look at this function: https://github.com/lvgl/lv_lib_png/blob/master/lv_png.c#L214 Maybe the color channels are mixed here 🙁 I tried with such pic - 64x64 px, 4 rectangles - with...

> Hmm, I'd be very surprised if LVGL had a bug in simply displaying and image. > > Can you reproduce in a simulator? If so please send me the...

> Wow, it's really a bug if `antialiasing` is disabled. I've merged [lvgl/lvgl#2803](https://github.com/lvgl/lvgl/pull/2803) where I fixed it in this [commit](https://github.com/lvgl/lvgl/pull/2803/commits/29046a0e36941ee459686a6b7af90521989a47b0). Now, in latest commit, if antialiazing is disabled alpha channel...

> Just out of curiosity, why do you need antialaising=0? This option disabled by default in zephyr-config. But I didn't think it could be such important. I thought that anti-aliasing...

> Note that even with antialising=0 ARGB images could be drawn correctly as they have nothing to do with antialiasing. But antialiasing is handled here because all drawing ends up...

> It was just updated in LVGL. Probably it can be applied here too. See [lvgl/lvgl#3883](https://github.com/lvgl/lvgl/issues/3883) I will look into this issue

> do you have keil ide? I tried to build sample with default `rtconfig.py` content. But get error ![Image](https://github.com/user-attachments/assets/9e820504-30ce-43d6-9119-b18635f90ed2) I use keil in eval mode with 32k code limitation. So...

> do you have keil ide? I made only 2 modifications in `rtconfig.py` ``` CROSS_TOOL='gcc' ``` and set path to gcc-toolchain om my PC ``` EXEC_PATH = r'C:\Users\XXYYZZ' ```