Meter=Image displays either a static image or an image dependant on a measure value(s).
Options
- General meter options
- All general meter options are valid.
- General image options
-
All general image options are valid for
ImageName. MeasureName,MeasureName2, ...,MeasureNameN-
Name(s) of the measure(s) to use in
ImageNamewith the%Nsyntax. This option does not need to be specified if not needed. ImageNameDefault:%1.png-
Path of the image file. The values of the measure(s) specified with
MeasureNamecan be used with the%Nsyntax as follows:Note: If an extension is not provided for the image file, .png is assumed.MeasureName=SomeMeasure MeasureName2=SomeMeasure2 ImageName=%1-%2.png ; %1 and %2 will be replaced by the string values of SomeMeasure and ; SomeMeasure2, respectively. Path- Path of the image folder location.
PreserveAspectRatioDefault:0-
Controls how
WandHscale the image whenTile=0. Valid values are:0: The image is scaled to exactly fit the bounds specified byWandHwithout regard to aspect ratio.1: The image is scaled to fit within the bounds specified byWand/orHwhile preserving the aspect ratio.2: The image is scaled and cropped to fill the bounds specified byWand/orHwhile preserving the aspect ratio.
ScaleMarginsFormat:Left, Top, Right, Bottom-
Margins of the image to exclude from scaling when
Tile=0andPreserveAspectRatio=0.Example:
ScaleMargins=10, 50, 10, 50
Note: Using the SolidColor option, along with W and H options, an image meter may be used to draw squares, rectangles or lines without needing any ImageName or MeasureName.
Example
[Rainmeter]
Update=1000
[MeterBackground]
Meter=Image
ImageName=#@#Images\Background.jpg
W=200
H=200
GreyScale=1
ImageTint=171,54,3,150
[MeasureMyPictures]
Measure=Plugin
Plugin=QuotePlugin
PathName=#@#\Pictures
Subfolders=0
FileFilter=*.jpg;*.gif;*.bmp;*.png
UpdateDivider=10
[MeterShowPicture]
Meter=Image
MeasureName=MeasureMyPictures
X=25
Y=25
W=150
H=150
PreserveAspectRatio=1
LeftMouseUpAction=!Refresh

An example skin demontrating an Image meter.