Page 1 of 1

Custom icons - white lines [solved]

Posted: Friday 20 August 2021 20:58
by Flopp
I have some of my custom icon that get two sides with white lines.
Left side is without lines and right with lines.

The information about the icons is from Inspect with the browser

Why does Domoticz add intrinsic and what does it mean?

domo.png
domo.png (25.75 KiB) Viewed 354 times

Re: Custom icons - white lines

Posted: Friday 20 August 2021 21:23
by Flopp
It was my own fault and browser cache that tricked me.

I was using Domoticz icon generator and it creates 50x50 icons.

When I removed the extra 2 pixel-lines and upload to Domoticz and using Incognito window everything was OK

Re: Custom icons - white lines [solved]

Posted: Saturday 21 August 2021 22:12
by FireWizard
@Flopp,
It was my own fault and browser cache that tricked me.

I was using Domoticz icon generator and it creates 50x50 icons.
Was it really your own fault?

I had the same with some of my custom icons, giving me an extra white line at the right and the bottom.

The problem is that https://domoticz-icon.aurelien-loyer.fr/ creates the Domoticz icons in 50 x 50 pixel format instead of 48 x 48 pixels, as required by Domoticz. This is a bug.

And, yes, after correction you need to clear the cache. That is correct.

Regards