It is currently April 28th, 2024, 6:00 am

change image color png ??? help???

Get help with creating, editing & fixing problems with skins
burnwell88
Posts: 90
Joined: August 13th, 2009, 8:37 am

change image color png ??? help???

Post by burnwell88 »

hii all , my last skin was qsystem, he has a lot off png imiges , so i was thinking if i can change the png color with rainmeter with a command :| but the picture to be in a rotator process like this :

Code: Select all

[CalcMeasure2400]
Measure=Calc
Formula=Counter %2400

[MeterUnder11]
MeasureName=MeasureTime2400
Meter=ROTATOR
X=315
Y=114
W=450
H=450
ImageName=6x.png
StartAngle=6.2832
RotationAngle=6.2832
ValueReminder=2400
OffsetX=219
OffsetY=219
Hidden=0
if you have any ideea pls let me know pls :|
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: change image color png ??? help???

Post by JpsCrazy »

Straight from the manual:
Greyscale
If set to 1, the image will be greyscaled. This is applied before ImageTint or ColorMatrix if they are specified.

ImageTint
The color to tint an image. The colors are given in the same manner as SolidColor: RGB(A). If the alpha value is specified, the image can be made semi-transparent (0 means invisible, 255 mean fully opaque). Default value is white (255, 255, 255, 255) which in effect means "no change".

Note: If you combine Greyscale and ImageTint you "recolor" the image to the defined color, if you use ImageTint alone, you "add" the defined color to the image, creating a "tint".


If you want to change it with a command, set the ImageTint=#SomeVariable# and just have SomeVariable be set to whatever color you'd like with the command using !RainmeterSetVariable SomeVariable 230,50,80 (just an example) and dynamic variables.
burnwell88
Posts: 90
Joined: August 13th, 2009, 8:37 am

Re: change image color png ??? help???

Post by burnwell88 »

JpsCrazy wrote:Straight from the manual:
Greyscale
If set to 1, the image will be greyscaled. This is applied before ImageTint or ColorMatrix if they are specified.

ImageTint
The color to tint an image. The colors are given in the same manner as SolidColor: RGB(A). If the alpha value is specified, the image can be made semi-transparent (0 means invisible, 255 mean fully opaque). Default value is white (255, 255, 255, 255) which in effect means "no change".

Note: If you combine Greyscale and ImageTint you "recolor" the image to the defined color, if you use ImageTint alone, you "add" the defined color to the image, creating a "tint".


If you want to change it with a command, set the ImageTint=#SomeVariable# and just have SomeVariable be set to whatever color you'd like with the command using !RainmeterSetVariable SomeVariable 230,50,80 (just an example) and dynamic variables.

Can you pls make an example with the code i give you if i'm not asking to much ? thx
burnwell88
Posts: 90
Joined: August 13th, 2009, 8:37 am

Re: change image color png ??? help???

Post by burnwell88 »

burnwell88 wrote:
Can you pls make an example with the code i give you if i'm not asking to much ? thx

i made the image change his color but it doesn't rotate it when the color is changed :| pls help i want to change the color and rotate it at the same time,,,,

Code: Select all

[MeasureTime2400]
Measure=Calc
Formula=CalcMeasure2400

[MeterUnder11]
MeasureName=MeasureTime2400
Meter=ROTATOR
X=315
Y=114
W=450
H=450
ImageName=6x.png
StartAngle=6.2832
RotationAngle=6.2832

[MeterTintedImage]
Meter=Image
ImageName=6x.png
Greyscale=1
ImageTint=255,128,64,255
X=315
Y=114
W=450
H=450
IT loads another image exactly like 6x.png but with the color changed but it stay there it doesn't do anything i want to rotate that colored image .... :(( :(
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: change image color png ??? help???

Post by jsmorley »

Sorry, but ImageTint does not work with Rotator meter images only Meter=Image meters. There is no way, short of using some image editor outside of Rainmeter and having multiple versions of the image with different colors to support altering the color of an image used in a Rotator meter.
burnwell88
Posts: 90
Joined: August 13th, 2009, 8:37 am

Re: change image color png ??? help???

Post by burnwell88 »

and i even made this code and it doesn't work

Code: Select all

[MeasureQuote]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName="C:\Users\Burnwell\Documents\Rainmeter\Skins\testing rottor\"
FileFilter=*.png


[MeterUnder7]
MeasureName=MeasureTime1500
Meter=ROTATOR
X=347
Y=145
W=387
H=387
ImageName=1x.png
ImageTint=255,128,64,255
Greyscale=1
StartAngle=6.2832
RotationAngle=6.2832
ValueReminder=1500
OffsetX=190
OffsetY=190
Hidden=0
From the manual :|
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: change image color png ??? help???

Post by jsmorley »

burnwell88 wrote:and i even made this code and it doesn't work

Code: Select all

[MeasureQuote]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName="C:\Users\Burnwell\Documents\Rainmeter\Skins\testing rottor\"
FileFilter=*.png


[MeterUnder7]
MeasureName=MeasureTime1500
Meter=ROTATOR
X=347
Y=145
W=387
H=387
ImageName=1x.png
ImageTint=255,128,64,255
Greyscale=1
StartAngle=6.2832
RotationAngle=6.2832
ValueReminder=1500
OffsetX=190
OffsetY=190
Hidden=0
From the manual :|
You may have missed my earlier post. ImageTint is not supported in a Rotator meter.
burnwell88
Posts: 90
Joined: August 13th, 2009, 8:37 am

Re: change image color png ??? help???

Post by burnwell88 »

jsmorley wrote: You may have missed my earlier post. ImageTint is not supported in a Rotator meter.
maybe it will be possible one day :| ....
Jomann
Posts: 4
Joined: December 31st, 2010, 11:52 pm

Re: change image color png ??? help???

Post by Jomann »

I'm guessing it's not supported in BAR meters either? I just tried it but it's not working.
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: change image color png ??? help???

Post by smurfier »

It is in the most current beta version.
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 . . .