update brushes and make a generator script

This commit is contained in:
2018-09-21 23:21:47 +02:00
parent 7dd16a7f9e
commit fd8d6ff2d1
7 changed files with 8 additions and 0 deletions

8
extra/makebrush.ps1 Normal file
View File

@@ -0,0 +1,8 @@
$files = Get-ChildItem ./in
foreach ($f in $files)
{
echo "Processing $($f.Name)"
magick convert "$($f.FullName)" -resize 512x512 tmp.png
magick convert tmp.png -background white -gravity center -extent 512x512 "./brushes/$($f.Name)"
magick convert "./brushes/$($f.Name)" -resize 64x64 "./thumbs/$($f.Name)"
}