Vetsus wrote: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!
If you read the
information on the github page for this plugin, it tells you you can set the transparency for any of the 3 obtainable colors (Background, Accent1, Accent2) by adding
COLORALPHA=XXX to the measure. The default value is 255, a solid color.
So to change the alpha to 128 for the color obtained for the background, set up the measure like this:
Code: Select all
[MeasureParent]
Measure=Plugin
Plugin=ColorExtract
ImagePath=#@#Images\cover.jpg
[MeasureBackgroundColor]
Measure=Plugin
Plugin=ColorExtract
ParentMeasure=[MeasureParent]
ColorType=Background
ColorAlpha=128
This will change the alpha of the background color to half the normal transparency. The same option exist for the Accent1 and Accent2 colors.
I would really recommend you look at the
Chameleon plugin by socks-the-fox due to it offering more options.
Another handy utility is
BlendColor.lua script by hakshak that can color items based on measure percentage scales.