Solved Square into circle
#1
how do I take a square image an make it round....?
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply
#2
You have to mask the image.

See: http://kodi.wiki/view/Aspect_Ratio

Example:
Code:
<control type="image">
...
<texture diffuse="round-mask.png" scale>%s</texture>
<aspectratio scalediffuse="false">keep</aspectratio>
...
</control>

Just create a image with a white circle and a transparent (or black) background. That image is used as mask and only the white area will be covered by the image.
Main: Lancool II Mesh  - Ryzen 9 5900x - MSI x570 Unify - Zotac RTX 3080 AMP HOLO - 32GB Trident Z Neo 3600 CL16 -  EVO 960 M.2 250GB / EVO 940 250GB / MX100 512GB /  Crucial P1 2TB / WD Blue 3D Nand 2TB 
Sound: Saxx AS30 DSP - Beyer Dynamic Custom One Pro 
TV: Nvidia Shield 2019 Pro- Adalight 114x LEDs - Sony 65XG9505 - Kodi / Emby - Yamaha RX-V683 - Heco Victa 700/101/251a + Dynavoice Magic FX-4
Server: i3 Skylake - 8GB - OMV4 - 22TB Storage
Reply
#3
Thanks I got it about 30min after I posted this ... for some dumb reason on my part I kept putting colordiffuse...
Shield TV | Windows 10 | Mariadb | Mii Box
Evolve Ecosystem Repo | TV Melodies | Madnox Holiday Mod
Reply

Logout Mark Read Team Forum Stats Members Help
Square into circle0