hey everyone
i just wanna ask how i can use a pic from my computer in skin like paper farme
http://rickypereira1992.deviantart.com/art/Paper-Frame-for-Rainmeter-190300622?offset=10#comments
Sorry for my bad english
It is currently May 1st, 2024, 11:34 pm
use a pic in paper frame
-
- Posts: 1
- Joined: December 12th, 2011, 12:28 pm
-
- Posts: 61
- Joined: November 6th, 2011, 4:50 pm
- Location: Germany
Re: use a pic in paper frame
Hi heross,
I don't know how the skin in your link was done, but this is what I do. I basically display the picture twice:
1) Show the picture with the size slightly enlarged and using a color matrix to draw it in off-white. This becomes the background of the skin.
2) Show the un-modified picture.
That way the white frame scales with the picture, regardless of its aspect ratio. Here's an example:
/MaroonED
I don't know how the skin in your link was done, but this is what I do. I basically display the picture twice:
1) Show the picture with the size slightly enlarged and using a color matrix to draw it in off-white. This becomes the background of the skin.
2) Show the un-modified picture.
That way the white frame scales with the picture, regardless of its aspect ratio. Here's an example:
Code: Select all
[Rainmeter]
Update=300000
[RandomPicture]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName=#CURRENTPATH#\pictures
[ShowFrame]
Meter=Image
MeasureName=RandomPicture
W=320
H=820
X=-10
Y=-10
PreserveAspectRatio=1
ImageRotate=-14
ColorMatrix1=0;0;0;0;0
ColorMatrix2=0;0;0;0;0
ColorMatrix3=0;0;0;0;0
ColorMatrix4=0;0;0;1;0
ColorMatrix5=0.95;0.95;0.95;0;1
DynamicVariables=1
[ShowPicture]
Meter=Image
MeasureName=RandomPicture
W=300
H=800
PreserveAspectRatio=1
AntiAlias=1
ImageRotate=-14
ToolTipText=%1
LeftMouseUpAction=[RandomPicture]
RightMouseUpAction=!Refresh