It is currently April 25th, 2024, 10:51 am

ImageTint

Get help with creating, editing & fixing problems with skins
Colorless
Posts: 7
Joined: May 8th, 2010, 3:23 am

ImageTint

Post by Colorless »

I'm having a bit of trouble with the ImageTint method,
This is what I have so far:
[Icons]
Meter=Image
ImageName=#SkinPath#Folders\Computer.png
GrayScale=1
ImageTint=255,255,255,100
X=0
Y=0
W=75
H=75
StringAlign=#Align#
AntiAlias=1
DynamicVariables=1
LeftMouseDownAction=!Execute ["Shell:MyComputerFolder"]
However the image doesn't seem to be changing shades. I tried different values but theres still no difference.
User avatar
Alex2539
Rainmeter Sage
Posts: 642
Joined: July 19th, 2009, 5:59 am
Location: Montreal, QC, Canada

Re: ImageTint

Post by Alex2539 »

You must be running the latest beta for ImageTint to work. Then, it works like this:

Code: Select all

ImageTint=Red,Green,Blue,Alpha
All three numbers are from 0 to 255. Also, "ImageTint=255,255,255,100" will not change the colour, only make it semi-transparent.
ImageImageImageImage
Colorless
Posts: 7
Joined: May 8th, 2010, 3:23 am

Re: ImageTint

Post by Colorless »

Ya I tried changing each value but the colors or the tint doesn't work.
Do you see something in particular about the code?
User avatar
Alex2539
Rainmeter Sage
Posts: 642
Joined: July 19th, 2009, 5:59 am
Location: Montreal, QC, Canada

Re: ImageTint

Post by Alex2539 »

First of all, StringAlign doesn't do anything for Image meters, so you can go ahead and remove that. Also, I didn't notice it before, but there are a couple of typos there: 1)Grayscale should be Greyscale with an "E", not an "A" in "grey" and 2) for ImageName, you have #SkinPath#. If you meant to use the built-in variable, it's #SkinsPath#, which should give you the path to the main "Skins" folder in "My Documents". If that doesn't work, then check that you're actually running at least version 1.2 r342 by right-clicking the Rainmeter icon or any skin and choosing "About". If not, then update to the latest beta and then it should work.
ImageImageImageImage
Colorless
Posts: 7
Joined: May 8th, 2010, 3:23 am

Re: ImageTint

Post by Colorless »

D: I was running 1.1

Thanks!