It is currently April 26th, 2024, 3:32 am
Plugin: ColorExtract
-
- Posts: 30
- Joined: October 24th, 2013, 8:15 am
Re: Plugin: ColorExtract
This is pretty great! The things we can do with this plugin...
Rainmeter-er since 2013 | My DeviantART
-
- Posts: 33
- Joined: October 9th, 2014, 3:29 pm
- Location: Europe
Re: Plugin: ColorExtract
Trying to change a bitmap color with " ImageTint=[Accent1] " and is not working.
Code: Select all
;---ColorExtract
[MeasureColorParent]
Measure=Plugin
Plugin=ColorExtract
ImagePath=[MeasureCover]
DynamicVariables=1
[BackgroundColor]
Measure=Plugin
Plugin=ColorExtract
ParentMeasure=[MeasureColorParent]
ColorType=Background
[Accent1]
Measure=Plugin
Plugin=ColorExtract
ParentMeasure=[MeasureColorParent]
ColorType=Accent1
[Accent2]
Measure=Plugin
Plugin=ColorExtract
ParentMeasure=[MeasureColorParent]
ColorType=Accent2
;---LightMeter
[Light]
Meter=Bitmap
MeasureName=measureAudioOut_RMS_L
X=0
Y=0
BitmapImage=#@#Light.png
Greyscale=1
ImageTint=[Accent1]
BitmapFrames=5
BitmapExtend=1
AntiAlias=1
-
- Developer
- Posts: 22630
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: Plugin: ColorExtract
You need DynamicVariables=1 on the meter.Kriust wrote:Trying to change a bitmap color with " ImageTint=[Accent1] " and is not working.
Code: Select all
;---ColorExtract [MeasureColorParent] Measure=Plugin Plugin=ColorExtract ImagePath=[MeasureCover] DynamicVariables=1 [BackgroundColor] Measure=Plugin Plugin=ColorExtract ParentMeasure=[MeasureColorParent] ColorType=Background [Accent1] Measure=Plugin Plugin=ColorExtract ParentMeasure=[MeasureColorParent] ColorType=Accent1 [Accent2] Measure=Plugin Plugin=ColorExtract ParentMeasure=[MeasureColorParent] ColorType=Accent2 ;---LightMeter [Light] Meter=Bitmap MeasureName=measureAudioOut_RMS_L X=0 Y=0 BitmapImage=#@#Light.png Greyscale=1 ImageTint=[Accent1] BitmapFrames=5 BitmapExtend=1 AntiAlias=1
-
- Posts: 33
- Joined: October 9th, 2014, 3:29 pm
- Location: Europe
Re: Plugin: ColorExtract
Can't belive I forgot about that
-
- Posts: 1
- Joined: February 20th, 2017, 1:28 am
Re: Plugin: ColorExtract
Thanks,
I am testing out the demo skin(https://github.com/QuietMisdreavus/PluginColorExtract) but The head, background, and body only update when i refresh the skin although the image updates as soon as I change it. Anybody know how to refresh the rest automatically?
I am testing out the demo skin(https://github.com/QuietMisdreavus/PluginColorExtract) but The head, background, and body only update when i refresh the skin although the image updates as soon as I change it. Anybody know how to refresh the rest automatically?
-
- Posts: 27
- Joined: March 7th, 2017, 5:29 pm
Re: Plugin: ColorExtract
does anyone know of a way to remove the transparency section from these values? i have have been toying with webparser, but if any of the RGB values are 255 it seems to mess with it as the transparency is always 255 (ie 123,456,789,255)
any help would be awesome, and if someone has this figured out already, great!
any help would be awesome, and if someone has this figured out already, great!
-
- Rainmeter Sage
- Posts: 16172
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Plugin: ColorExtract
Simply remove the last number (255): 123,456,789.Vetsus wrote:does anyone know of a way to remove the transparency section from these values?
But take care that the values used into a color code usually have to be less or at most equal with 255. Having larger values isn't a great problem, but those values are reduced, to less than 255. Eg the 123,456,789 is the same as 123,(456-255),(789-3*255) = 123,201,24.
To be honest I never encountered a such problem.Vetsus wrote:but if any of the RGB values are 255 it seems to mess with it as the transparency is always 255
-
- Posts: 27
- Joined: March 7th, 2017, 5:29 pm
Re: Plugin: ColorExtract
i understand they are never higher than 255. anything beyond that is actually counted as 255. i used those numbers as examples. but how exactly do you remove the last value? so if it's rrr,ggg,bbb,ttt then how would you remove the ",ttt" from that value?
-
- Rainmeter Sage
- Posts: 16172
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: Plugin: ColorExtract
As I said, leaving just rrr,ggg,bbb. 100,150,200,255 is the same as 100,150,200.Vetsus wrote:but how exactly do you remove the last value? so if it's rrr,ggg,bbb,ttt then how would you remove the ",ttt" from that value?
-
- Posts: 27
- Joined: March 7th, 2017, 5:29 pm
Re: Plugin: ColorExtract
<snip>
Last edited by jsmorley on June 19th, 2018, 10:10 pm, edited 1 time in total.
Reason: Hostility and personal attacks against someone who is try to help you wil NEVER be allowed on these forums.
Reason: Hostility and personal attacks against someone who is try to help you wil NEVER be allowed on these forums.