v12 Border-radius for blocks or images?
#1
Hi,
I am a new kodi skinner so I am not quite understand how this all works,

When I am putting an image or a colored block with the texture tag,
Is there any option for it to be with rounded edges? If it is possible, how?

Thank you.
Reply
#2
You need to add a diffuse texture to create round edges.

PHP Code:
<texture diffuse="diffusetexture.png">texture.png</texture

http://kodi.wiki/view/Texture_Attributes

http://kodi.wiki/view/Aspect_Ratio
Reply
#3
this effect can be created by adding a diffuse texture to those images.
Code:
<texture diffuse="diffuse.png">image.jpg</texture>

so create a plain white .png file with (transparent) rounded edges,
and kodi will apply that as a mask to your image file.

also see: http://kodi.wiki/view/Texture_Attributes...xture_tags
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#4
(2016-03-20, 18:02)Hitcher Wrote: You need to add a diffuse texture to create round edges.

PHP Code:
<texture diffuse="diffusetexture.png">texture.png</texture

http://kodi.wiki/view/Texture_Attributes

http://kodi.wiki/view/Aspect_Ratio

(2016-03-20, 18:06)ronie Wrote: this effect can be created by adding a diffuse texture to those images.
Code:
<texture diffuse="diffuse.png">image.jpg</texture>

so create a plain white .png file with (transparent) rounded edges,
and kodi will apply that as a mask to your image file.

also see: http://kodi.wiki/view/Texture_Attributes...xture_tags

Thanks! Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Border-radius for blocks or images?0