[問題] windows command line 有無像linux `(bac
windows command line 有無像linux `(backticks)這樣的方式?
因為要使用指令的方式轉換圖片
裝了ImageMagick這套軟體
裡面有圖片註解的功能
例如
convert -font helvetica -fill white -pointsize 16 -draw "text 10,50 'test'" input.jpg output.jpg
但如果要使用中文註解的話就會不成功(出現亂嗎)
convert -font fireflysung.ttf -fill white -pointsize 16 -draw "text 10,50 '測試'" input.jpg output.jpg
看了一些網路上的說明提到必須將中文轉為utf8編碼
使用了perl 的 piconv來測試,網路上的範例
convert -font fireflysung.ttf -fill white -pointsize 16 -draw "text 10,50 `piconv -f big5 -t utf8 -s 測試`" input.jpg output.jpg
但windows command line好像不支援`
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.60.111.131
→
02/09 17:10, , 1F
02/09 17:10, 1F
→
02/09 17:11, , 2F
02/09 17:11, 2F
推
02/09 17:58, , 3F
02/09 17:58, 3F
→
02/09 20:49, , 4F
02/09 20:49, 4F
Perl 近期熱門文章
PTT數位生活區 即時熱門文章