It is currently April 28th, 2024, 2:29 am
Plugin: Chameleon
-
- Posts: 478
- Joined: February 26th, 2011, 10:22 pm
Re: Plugin: Chameleon
Is there any way to have the colors in 255,255,255 instead of hex code?
-
- Posts: 104
- Joined: August 25th, 2015, 6:40 pm
Re: Plugin: Chameleon
Yes! If you specify "Format=Dec" it'll give you decimal color codes.
-
- Posts: 1
- Joined: May 8th, 2016, 6:20 am
Re: Plugin: Chameleon
I dont think this works for Windows 8 because whenever I try it on my Win. 8 PC The skins are just plain white, other skins that use this plugin also dont copy the color of Images/BG etc. and just sticks to ther default color.
-
- Posts: 104
- Joined: August 25th, 2015, 6:40 pm
Re: Plugin: Chameleon
Do you have the VS2015 Runtime installed and up to date? 1.4 and earlier still need it separately installed since I was under the impression Rainmeter did things differently.
If that doesn't fix it, you might check the Rainmeter log and let me know what's there.
If that doesn't fix it, you might check the Rainmeter log and let me know what's there.
-
- Posts: 23
- Joined: July 1st, 2015, 5:05 pm
Re: Plugin: Chameleon
Hey Socks,
I was thinking an option for selective weighting would be good i.e. saturation has a higher value than count etc. This way if an image only has a couple colors on a grey background or something you could grab the more saturated colors before the grey even though it has a higher count. This would be useful for many of the music album covers which are a small number of pixels with one or two colors on black, white, grey, or even a muted color which have the majority of the pixels.
I was thinking an option for selective weighting would be good i.e. saturation has a higher value than count etc. This way if an image only has a couple colors on a grey background or something you could grab the more saturated colors before the grey even though it has a higher count. This would be useful for many of the music album covers which are a small number of pixels with one or two colors on black, white, grey, or even a muted color which have the majority of the pixels.
-
- Posts: 104
- Joined: August 25th, 2015, 6:40 pm
Re: Plugin: Chameleon
Internally it actually already does that, I just haven't exposed it to users because it's a god awful PITA of trial-and-error to try and get it to pick the colors you'd expect. I don't know how I'd go about exposing it, but ideas are welcome. Internally it has 6 weights per color selection; count, edge count, bg1 distance, fg1 distance, saturation and contrast. bg1 distance and fg1 distance don't do anything on either bg1 or fg1, they're more for the secondary colors.
In other news I've got the cropping code set up, and next I want to clean up the Rainmeter code a little bit, but other than that I'm mostly done with 1.5. I've narrowed down the desktop weights and it's been picking colors beautifully (even with the album arts I've been feeding it, which are a lot thanks to the Homestuck diskography).
In other news I've got the cropping code set up, and next I want to clean up the Rainmeter code a little bit, but other than that I'm mostly done with 1.5. I've narrowed down the desktop weights and it's been picking colors beautifully (even with the album arts I've been feeding it, which are a lot thanks to the Homestuck diskography).
-
- Posts: 23
- Joined: July 1st, 2015, 5:05 pm
Re: Plugin: Chameleon
That's great that 1.5 is progressing well, lookin forward to it. Could custom colors be an option for getting user weighting?Socks the Fox wrote:Internally it actually already does that, I just haven't exposed it to users because it's a god awful PITA of trial-and-error to try and get it to pick the colors you'd expect. I don't know how I'd go about exposing it, but ideas are welcome. Internally it has 6 weights per color selection; count, edge count, bg1 distance, fg1 distance, saturation and contrast. bg1 distance and fg1 distance don't do anything on either bg1 or fg1, they're more for the secondary colors.
In other news I've got the cropping code set up, and next I want to clean up the Rainmeter code a little bit, but other than that I'm mostly done with 1.5. I've narrowed down the desktop weights and it's been picking colors beautifully (even with the album arts I've been feeding it, which are a lot thanks to the Homestuck diskography).
Example:
Code: Select all
[ChameleonPlugin]
Measure=Plugin
Plugin=Chameleon
Type=Desktop
[DesktopCustomColor1]
Measure=Plugin
Plugin=Chameleon
Parent=ChameleonPlugin
Weight=0.2, 0.0, -1.0, 0.0, 1.0, 0.5
Color=Custom1
-
- Posts: 104
- Joined: August 25th, 2015, 6:40 pm
Re: Plugin: Chameleon
Something like that might work, yes... I'll see about adding it. It'll require a bit of rework of the core Chameleon library but shouldn't be too bad of a thing since adding useful features is always nice :3
-
- Posts: 225
- Joined: April 1st, 2015, 7:16 am
Re: Plugin: Chameleon
Getting a strange error - had my PC reloaded with Windows 10 Enterprise 64-bit from scratch - now no Rainmeter plugins are working - I am getting a -126 error. The plugins are there according to Rainmeter but the LOG tells me the Chameleon plugin cannot be loaded.
I have tried to load the c++ distributable for 32-bit and 64-bit. I run them as admin (I am an admin) and nothing seems to happen - no confirmation or popups.
I have tried to load the c++ distributable for 32-bit and 64-bit. I run them as admin (I am an admin) and nothing seems to happen - no confirmation or popups.
-
- Rainmeter Sage
- Posts: 5407
- Joined: April 12th, 2012, 9:40 pm
- Location: Cedar Point, Ohio, USA
Re: Plugin: Chameleon
VS2015 Runtime?ms310 wrote:Getting a strange error - had my PC reloaded with Windows 10 Enterprise 64-bit from scratch - now no Rainmeter plugins are working - I am getting a -126 error. The plugins are there according to Rainmeter but the LOG tells me the Chameleon plugin cannot be loaded.
I have tried to load the c++ distributable for 32-bit and 64-bit. I run them as admin (I am an admin) and nothing seems to happen - no confirmation or popups.
:: My DA Gallery :: Rainmeter DA Gallery :: Rainmeter Workshops :: Rainmeter Documentation :: BBCode Guide ::