IM 6.7.9-Q16 draw text with accented chars in Windows .bat
Posted: 2013-09-23T06:36:49-07:00
Greetings,
I am trying to append some text to an image using ImageMagick's convert and draw. I use the following command:
When used in Ubuntu, or when used in Windows and typed directly into the command line prompt, the desired output is produced perfectly. However, putting the command in a batch file produces garbage characters instead of the 'É', 'è' and such. I have tried changing the batch file's encoding to ANSI, UTF-8, and basically every other encoding Notepad++ offers but with no success. I also tried changing the EOF to UNIX style, which unfortunately didn't work.
Is there any way to use these special characters in a Windows batch file?
Thank you for your time and please have a nice day!
I am trying to append some text to an image using ImageMagick's convert and draw. I use the following command:
Code: Select all
convert -draw "text 0,0 'Écolière'" -font arial-unicode.ttf 1.png 2.png
Is there any way to use these special characters in a Windows batch file?
Thank you for your time and please have a nice day!