You can change the size of the image used in Rotator, but you have to know the original image size to calculate the resizing. There is a plugin that can tell you the size of images, but besides finding the image size you would then need to add formulas to resize.
You could use ImageCrop to select the center area of the cover to match the dimensions of your rotator meter, but that method will only show the center 160 pixels of the cover. Adding
ImageCrop=-80,-80,160,160,5 to your rotator would give you the center of the cover.
I would recommend using the [Cover] in an Image meter that you CAN resize and then use a TransformationMatrix posted by balala to rotate the image.
This code will use TransformationMatrix to rotate a resized image meter inside your container.
Code: Select all
[Rainmeter]
Update=500
[Variables]
RotationCenterX=90
RotationCenterY=90
Angle=[loop1]
[Cover]
Measure=NowPlaying
PlayerName=Aimp
PlayerType=Cover
[Loop1]
Measure=Loop
StartValue=0
EndValue=330
Increment=30
LoopCount=0
InvertMeasure=1
[dCover]
Meter=Image
ImageName=#@#Images\DBrand
W=160
H=160
Padding=5,5,5,5
[AlbumArt]
Meter=Image
ImageName=[Cover]
x=5
y=5
W=170
H=170
DynamicVariables=1
TransformationMatrix=(Cos(Rad(#Angle#)));(-Sin(Rad(#Angle#)));(Sin(Rad(#Angle#)));(Cos(Rad(#Angle#)));(#RotationCenterX#-#RotationCenterX#*Cos(Rad(#Angle#))-#RotationCenterY#*Sin(Rad(#Angle#)));(#RotationCenterY#+#RotationCenterX#*Sin(Rad(#Angle#))-#RotationCenterY#*Cos(Rad(#Angle#)))
Container=dCover
I added the necessary variables for the matrix. And changed the loop measure to return 360 degree values in 30 degree steps to match your original rotation.