Skip to content
khanhas edited this page Nov 23, 2017 · 23 revisions

Image Types:

Basic usage:

MagickMeter can't display Image by itself, so it needs a Image meter that has MagickMeter plugin measure as MeasureName.

[MagickMeter_1]
Measure = Plugin
Plugin = MagickMeter
Image = D:\homer.svg

[Image_1]
Meter = Image
MeasureName = MagickMeter_1

You can add more image into current canvas by appending Image2, Image3, ImageN in plugin measure:

[MagickMeter_1]
Measure = Plugin
Plugin = MagickMeter
Image  = D:\homer.svg
Image2 = E:\kanna.png
Image3 = http://www.clker.com/cliparts/f/a/5/P/4/A/dark-green-marijuana-leaf-vector-format-md.png

True power of ImageMagick library is image manipulation. To use available effects and modifiers, you can add them right after image declaration:

Image = D:\homer.svg | Scale 200% | Implode -1
Image2 = Text EXAMPLE FOR#CRLF#GitHub | Size 120 | Shadow 80,10,20,0 ; FF5050
Image3 = E:\Weed420Meme.jpg | AdaptiveBlur 0,20

General modifiers:

All Effects modifiers can be used in any image type.

Color formats:

Normal Rainmeter colors in hex format RRGGBBAA and decimal format R,G,B are compatible.
HSL is also supported (no alpha value), use it with this format hsl(HueDegree, Saturation, Lightness).
HueDegree can be set from 0 to 360. Saturation and Lightness goes from 0 to 100. Eg:

Image = Rectangle 0,0,300,400 | Color hsl(40,66,20) | StrokeColor hsl(60,33,11)
Image2 = File D:\example.png | Shadow 100,20,20,30 ; hsl(320,45,87)
Clone this wiki locally