Req Texture tile
#1
Hi,

I think there's an <aspectratio>tile</aspectratio> really missing for image control.
In most of the skins I made for other softwares, this is something usually used for blocs background and picture file size saver.
This duplicates a picture with its original size to fill the <width> and <height>.
Since skins are getting more and more evolved, this could probably also allow more possibilities.

User customization in mind, it could be used with Skin.SetImage to allow user to apply their own background this way.
It's sometimes not easy to deal to deal with scale / stretch / keep (except with plain color square) without having to edit the picture itself.

Cheers.
[Skin] KOver - V1.1.0 Stable (Repo version)
[WIP] ReKOver - Skinning tool project

If I've been helpful or you like my work, hit "THANK USER" button ;) ...
Reply
#2
Do you mean something like this?

Image

This is what social networks do with vertical videos of smartphones. Cropping and bluring the image for the background behind the image.
(btw: http://saynotoverticalvideos.com/ Wink )
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
(2016-01-14, 12:40)sualfred Wrote: Do you mean something like this?

Not really, something like this Smile :

http://paulbourke.net/texture_colour/tiling/

BTW, something like your FTV wallpaper but with the same image attached side by side Wink
[Skin] KOver - V1.1.0 Stable (Repo version)
[WIP] ReKOver - Skinning tool project

If I've been helpful or you like my work, hit "THANK USER" button ;) ...
Reply
#4
Ah, now I get you. I could only speak for me, but I never faced such an scenario where I thought "damn, why don't we have tiling" Wink
The only use case I see, is to use it for patterns like gras or something. Other images like artworks will look terrible.
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
#5
(2016-01-14, 12:56)sualfred Wrote: Ah, now I get you. I could only speak for me, but I never faced such an scenario where I thought "damn, why don't we have tiling" Wink
The only use case I see, is to use it for patterns like gras or something. Other images like artworks will look terrible.

Sure it's not intended to be used for artworks, but filling a background in <itemlayout> for exemple or an image control fitting a <group> without having to bother having the *.png a sufficient size. I face this scenario really often but that's probably because I used it in almost - if not - all skins I built for other softs.

Today, we are stretching a white square in most of the cases and it works fine because it's plain color but would be great not sticking to just a plain color option Wink

EDIT :

Ex. you can produce some great backgrounds with this kind of patterns :

http://webtreats.mysitemyway.com/8-tilea...-textures/
[Skin] KOver - V1.1.0 Stable (Repo version)
[WIP] ReKOver - Skinning tool project

If I've been helpful or you like my work, hit "THANK USER" button ;) ...
Reply
#6
Yep, you are right.
Currently it only works for plain colors or like Android did it with it's "%s.9.png" with "<texture border="%i,%i,%i,%i">%s</texture>".

Even if I have no need for it (yet), new features are always welcome. +1

I also would welcome my example from above to save a lot of time Wink But I don't wanna hijack your thread.
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
#7
(2016-01-14, 13:10)sualfred Wrote: I also would welcome my example from above to save a lot of time Wink But I don't wanna hijack your thread.

NP Wink

@Hitcher : Maybe you can launch a new [Feature request] K* feature request thread ? Wink
[Skin] KOver - V1.1.0 Stable (Repo version)
[WIP] ReKOver - Skinning tool project

If I've been helpful or you like my work, hit "THANK USER" button ;) ...
Reply

Logout Mark Read Team Forum Stats Members Help
Texture tile0