Thread Rating:
  • 0 Vote(s) - 0 Average
Dim/Fade/Darken Background Image?
#1
Hi there.

I'm currently trying to severely customize my existing skin and one of the things I've done is add fanart to the background of the Movie Info screen by diabling the following line in DialogVideoInfo.xml:

Code:
<!--<texture>simplicity/background-solid.png</texture>-->

and adding the following instead.

Code:
<texture fallback="nothumb.png">$INFO[ListItem.Property(Fanart_Image)]</texture>

However, I'm now trying to figure out how to dim/fade/darken it so that it's not as bright as the actual picture is by default. (Kinda the same way it looks in the background when browsing your library.)
Basically, it's drowning out the text so darkening the background would be really useful.

I've tried adding the following bits after "<texture " but neither seem to have made a difference:

Code:
diffuse="simplicity/fanart-slide-fanart-diffuse.png"
and/or
Code:
background="true"

Does anybody know the syntax used to darken an image?
Reply
#2
I realise that I may have been on the wrong track there so I also tried adding the following just after the < but that made no difference either.

Code:
<include>VisibleFadeEffect</include>
and/or
Code:
<include>Overlay</include>

I'm pretty sure I'm really close but that I'm just missing something small or not understanding the correct place to put it.

Here's a full breakdown of the code for the background image:

Code:
<controls>
    <control type = "group">
    <include>VisibleFadeEffect</include>
        <animation
                effect = "slide"
                start = "1280,0"
                end = "0,0"
                time = "400"
                tween = "quadratic"
                easing = "out">WindowOpen</animation>
        <animation
                effect = "slide"
                start = "0,0"
                end = "1280,0"
                time = "400"
                tween = "quadratic"
                easing = "out">WindowClose</animation>
    <control type = "image">
        <posx>0</posx>
            <posy>0</posy>
        <width>1290</width>
        <height>730</height>
        <aspectratio scalediffuse="true">stretch</aspectratio>
        <!--<texture>simplicity/background-solid.png</texture>-->
        <texture background="true" fallback="nothumb.png">$INFO[ListItem.Property(Fanart_Image)]</texture>
    </control>
Reply
#3
Has anybody got any idea how to accomplish this? Sorry for the bump but I'm kind of desperate.
Reply
#4
either use <colordiffuse> or add a fade animation to the image control
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
#5
OMG, thanks so much ronie.
I used <colordiffuse>50FFFFFF</colordiffuse>

For some reason, I never got a notification that this had been answered but I was thinking about it today and decided to do some searching around again then came across my own original thread.
You're a legend.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Dim/Fade/Darken Background Image?00