Previously you could use:
PreserveAspectRatio=0 with W and H to STRETCH an image to the defined area without preserving the aspect ratio.
PreserveAspectRatio=1 with any combination of W and H to FIT an image into the defined area while preserving the aspect ratio.
Now in addition you can:
PreserveAspectRatio=2 with both W and H to FILL a defined area by sizing and cropping the image while preserving the aspect ratio.
Code: Select all
[Rainmeter]
Update=1000
DynamicWindowSize=1
[MeterOrig]
Meter=Image
ImageName=#@#Images\kroes.jpg
SolidColor=233,194,159
X=(62 / 2)
Y=(57 / 2)
W=438
H=287
[MeterFrame0]
Meter=Image
ImageName=#@#Images\frame.png
X=0
Y=0
ImageAlpha=130
[Meter1]
Meter=Image
ImageName=#@#Images\kroes.jpg
SolidColor=233,194,159
X=(502 + (62 / 2))
Y=(57 / 2)
W=438
H=287
PreserveAspectRatio=1
[MeterFrame1]
Meter=Image
ImageName=#@#Images\frame.png
X=502
Y=0
ImageAlpha=130
[Meter2]
Meter=Image
ImageName=#@#Images\kroes.jpg
SolidColor=233,194,159
X=(1004 + (62 / 2))
Y=(57 / 2)
W=438
H=287
PreserveAspectRatio=2
[MeterFrame2]
Meter=Image
ImageName=#@#Images\frame.png
X=1004
Y=0
ImageAlpha=130
This new setting should allow a lot more flexibility in how you make images of various sizes fit into your skin design.