<ImageMagickの覚え書き>

あくまで「覚え書き」です。自分に分かれば良い訳ですから、あまり参考にはなりません。(^_^;)


●サムネイル作成●
------------サムネイル.bat----------------
rem 複数のファイルをまとめてサムネイルファイルを作成する。
rem (100x200) 横100で (-tile 4x) 横に4個並べる
rem (+1+1)画像の間隔 横:縦
montage ws_1.BMP ws_2.BMP ws_3.BMP ws_4.BMP -tile 4x -geometry 100x200+1+1 サムネイル1.jpg

rem (ws_[1234].BMP)連番指定 (-tile 2x)
montage ws_[1234].BMP -tile 2x -geometry 50x100+5+5 サムネイル2.jpg
------------------------------------------

●グラデーション文字●

gradient文字1.jpg

gradient文字2.jpg
(両jpgともネットに上げるので透過gifファイルに加工)
------------gradient文字.bat----------------
rem 400x70 xc:White キャンバスと色
rem +5+50 文字の位置
rem gradient:blue 青のグラデーション
convert -size 400x70 xc:White -font Candice -pointsize 50 -tile gradient:blue -annotate +5+50 CycleShopHiraga gradient文字1.jpg convert -size 400x70 xc:White -font Candice -pointsize 50 -tile plasma:grey-grey -annotate +5+50 CycleShopHiraga gradient文字2.jpg
--------------------------------------------

●囲み文字●

---------------囲文字.bat-------------------
convert -size 450x90 xc:white -font Candice -pointsize 50 -fill red -stroke black -strokewidth 25 -annotate +20+60 CycleShopHiraga -stroke white -strokewidth 20 -annotate +20+60 CycleShopHiraga -stroke black -strokewidth 15 -annotate +20+60 CycleShopHiraga -stroke white -strokewidth 10 -annotate +20+60 CycleShopHiraga -stroke black -strokewidth 5 -annotate +20+60 CycleShopHiraga -stroke none -annotate +20+60 CycleShopHiraga 囲文字.gif
--------------------------------------------
450x90 xc:whiteはキャンバスの大きさと色 +20+60描画する位置

●影付文字●


---------------影付文字.bat-----------------
convert -size 450x90 xc:white -font Candice -pointsize 50 -stroke black -strokewidth 8 -annotate +20+60 CycleShopHiraga -blur 0x8 -fill LawnGreen -stroke none -annotate +22+62 CycleShopHiraga 影付文字.gif
--------------------------------------------
日本語のファイル名は自分勝手に付けました。実態を表してない気がするなぁ。(^_^;)

●倒立文字●


---------------倒立文字.bat-----------------
rem 0x120+15+80 120は影文字の高さ 15は倒立文字と影文字の先頭をずらす。
rem 最後の80は文字位置、ここで倒立文字列と影文字列の間合いを調整
convert -size 450x90 xc:white -font Candice -pointsize 50 -fill SteelBlue -annotate 0x0+12+50 CycleShopHiraga -fill SteelBlue4 -annotate 0x120+20+65 CycleShopHiraga 倒立文字.gif
--------------------------------------------

●袋影文字●


---------------袋影文字.bat-----------------
convert -size 430x70 xc:white -font Candice -pointsize 50 -fill magenta3 -draw "text 20,49 CycleShopHiraga" -fill white -draw "text 17,47 CycleShopHiraga" 袋影文字.gif
--------------------------------------------
※背景が通過しているのは「透過処理」してます。m(._.)m

●波形文字●

「波形文字アニメ」(*^.^*)

---------------波形文字.bat-----------------
convert -size 500x200 xc:white -font Candice -pointsize 50 -fill SpringGreen4 -annotate +25+65 CycleShopHiraga -wave -20x290 -crop x110+0+10 w1.gif
rem -20x280と10ポイントづつ変形して
convert -size 500x200 xc:white -font Candice -pointsize 50 -fill SpringGreen4 -annotate +25+65 CycleShopHiraga -wave -20x280 -crop x110+0+10 w2.gif
以下略
convert -size 500x200 xc:white -font Candice -pointsize 50 -fill SpringGreen4 -annotate +25+65 CycleShopHiraga -wave -20x150 -crop x110+0+10 w15.gif
--------------------------------------------
-20x150まで変形
※日本語フォントの使い方が分かりません。何方か教えて下さい。m(._.)m