Re: Plugin: ColorExtract
Posted: October 11th, 2015, 1:51 pm
This is pretty great! The things we can do with this plugin...
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
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
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?
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
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?