I am using a PowerShell script to batch convert Unicode characters to PNG files. See http://pastebin.com/aGJzk4Hh.
I was able to figure out that to convert the "
character one must use the designation label:\"
.
The other special characters are not so simple.
C:\ImageMagick\convert.exe -background transparent -fill hsb(0,0,0) \
-font Arial -pointsize 18 -size 18x26 -gravity center label:"@" \
C:\Users\erics_000\Desktop\Output\Chars\40.png
convert.exe: UnableToAccessPath @ error/property.c/InterpretImageProperties/3330.
convert.exe: NoImagesDefined `C:\Users\erics_000\Desktop\Output\Chars\40.png' @ error/convert.c/ConvertImageCommand/3230.
as well as:
C:\ImageMagick\convert.exe -background transparent -fill hsb(0,0,0) \
-font Arial -pointsize 18 -size 18x26 -gravity center label:"\" \
C:\Users\erics_000\Desktop\Output\Chars\5C.png
convert.exe: NoImagesDefined `label:" C:\Users\erics_000\Desktop\Output\Chars\5C.png' @ error/convert.c/ConvertImageCommand/3230.
have been very problematic for me.
I have tried every way I know how to escape those characters by way of \
however nothing yet has proven to work. I will need to be able to convert all Unicode characters, \
and @
included.
Is it known how these can be converted to PNG files with ImageMagick?
label:"\"
bylabel:" \ "
(note the added blanks!). Also replacelabel:"@"
bylabel:" @ "