It is currently May 4th, 2024, 11:25 pm

Clipping Color from an Image

Report bugs with the Rainmeter application and suggest features.
Ariex
Posts: 14
Joined: December 23rd, 2010, 1:33 pm
Location: Germany

Clipping Color from an Image

Post by Ariex »

Hello guys,

I know that Rainmeter has no function to clipping a colorvalue from an image at the moment, but would it be possible to add this function?

Something like this:

[MeterTestChart]
Meter=IMAGE
ImageName=Chart
X=25
Y=35
ColorClipping=FFFFFF

Please look at the 2 images to understand what i mean.

Normal
Image

Color Clipping
Image
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: Clipping Color from an Image

Post by smurfier »

This actually can be accomplished, not so nicely of course, with ColorMatrix. This page has some really good info on how to use it, as well as specific code for turning white to alpha.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
Ariex
Posts: 14
Joined: December 23rd, 2010, 1:33 pm
Location: Germany

Re: Clipping Color from an Image

Post by Ariex »

Oh wow that looks really complicated O.O

I know this ColorMatrix function but i dont know that i can convert colorvalues to an alphavalue.

Thanks for the tip Smurfier, i try it.