And I'm using imagemagick to create a mask image, that I then use, to round the corners of all the images in the folder.
it works really well in a CMD window.
But I can't tell why it doesn't work in a runCommand measure.
;navigate to test folder:
cd C:\Users\***USERNAME***\Documents\Rainmeter\Skins\Panels\DownloadFile\test2
;create mask image:
magick convert -size 200x300 xc:none -draw roundrectangle 0,0,200,300,12,12 mask.png
;round corners of ALL images using mask image:
FOR /R %a IN (*.png) DO magick convert "%~a" -matte mask.png -compose DstIn -composite "%~dpna.png"
So I am having a hard time figuring out why it wont create the mask image when I try the same command in Rainmeter.
Code: Select all
[MeasureRun]
Measure=Plugin
Plugin=RunCommand
StartInFolder=C:\Users\***USERNAME***\Documents\Rainmeter\Skins\Panels\DownloadFile\test2
Parameter=magick convert -size 200x300 xc:none -draw roundrectangle 0,0,200,300,12,12 mask.png
State=Show
OutputType=ANSI