-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgenerate-icon.cmd
More file actions
17 lines (15 loc) · 1.08 KB
/
Copy pathgenerate-icon.cmd
File metadata and controls
17 lines (15 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
@echo off
set "font=C:/Windows/Fonts/consola.ttf"
set "flags=xc:black -gravity center -fill green -stroke green"
set "post=-colors 4"
magick ^
^( -size 16x16 -pointsize 15 -font %font% %flags% -draw "text 0,0 ""16""" %post% +append ^) ^
^( -size 24x24 -pointsize 20 -font %font% %flags% -draw "text 0,0 ""24""" %post% +append ^) ^
^( -size 32x32 -pointsize 25 -font %font% %flags% -draw "text 0,0 ""32""" %post% +append ^) ^
^( -size 48x48 -pointsize 40 -font %font% %flags% -draw "text 0,0 ""48""" %post% +append ^) ^
^( -size 64x64 -pointsize 50 -font %font% %flags% -draw "text 0,0 ""64""" %post% +append ^) ^
^( -size 72x72 -pointsize 60 -font %font% %flags% -draw "text 0,0 ""72""" %post% +append ^) ^
^( -size 128x128 -pointsize 70 -font %font% %flags% -draw "text 0,0 ""128""" %post% +append ^) ^
^( -size 256x256 -pointsize 128 -font %font% %flags% -draw "text 0,0 ""256""" %post% +append ^) ^
^( -size 512x512 -pointsize 256 -font %font% %flags% -draw "text 0,0 ""512""" %post% +append ^) ^
icon_batch_script.ico