Smanar / CYD-Domoticz-Remote

WIP project to control your home-automation using Domoticz and a CYD (Cheap touchscreen).
9 stars 2 forks source link

Icon size. #21

Closed SargonofAssyria closed 1 month ago

SargonofAssyria commented 1 month ago

You saw my pictures. I would like to have the icons a little bit bigger like 60x60 Could you have one of the originals transform to that size so I can test? [Wish] Even better would be that some of the icons are in 2 colors, like switches, lights, warnings and plugs. 1 color for each state.

Smanar commented 1 month ago

We have already tried with bigger icon, you have a file to test here for temperature https://github.com/Smanar/CYD-Domoticz-Remote/blob/eba139a4198a53a7b5ec0c91cc77506080a06f35/src/image/temperature60x60.c

But we have give up, because on bigger resolution, better having more data than bigger icon. He was using 4*3 icons if I remember.

If you want I can explain how to make the file.

Even better would be that some of the icons are in 2 colors, like switches, lights, warnings and plugs. 1 color for each state.

I m using monochrome icon, all black, and I make operation on them, color, alpha blending. So they are using only 1 color. I can change color or transparency without problem, but not possible use 2 colors on the same icon on memory, because the recolorisation will be random, and will take more memory.

We have tried some graphical thing, like adding circle (like on the Home assitant dashboard) , boxes, but results was not better.

On group, you have different state for the widget, action based on transparency, but users prefer keep a clear Homepage just with a small icon close to the icon.

SargonofAssyria commented 1 month ago

Tnx for the 60x60 icon. I think it looks better, but that is just me. B.t.w. This icon has no transparent background (yet). I would like to pursue this further. Please explain how to make this and other icon files.

Smanar commented 1 month ago

I m using image like this one, PNG format, monochrome (bit depth = 1) + transparent. lampe35x35

Then I go to https://lvgl.io/tools/imageconverter

SargonofAssyria commented 1 month ago

Tnx for the info, experimented already a little. No good result yet. Will keep on testing....