目次

ImageMagick

2x2 画像

montage \
    -tile 2x2 \
    -geometry 1024x \
    -font "Liberation-Serif-Italic" \
    -annotate +440+10 'by @ten_forward' \
    -pointsize 18 \
    -fill ForestGreen \
    -gravity South \
    1.jpg 2.jpg 3.jpg 4.jpg out.jpg

画像サイズ変更

convert -gravity South -font "Liberation-Serif-Italic" -geometry 1024x -annotate +440+10 "by @ten_forward" -pointsize 18 -fill ForestGreen img.jpg out.jpg
convert -gravity SouthEast -font "Andale-Mono" -geometry 2048x -annotate +10+10 "by @ten_forward" -pointsize 32 -fill #C0DCC0 $f conv/$f
convert -gravity SouthEast -font "Bradley-Hand-Bold" -geometry 2048x -annotate +10+10 "by @ten_forward" -pointsize 48 -fill #003300 $f conv/$f

図形描画

hellolive

convert -draw 'rectangle 200,1640 490,2095' in out

切り抜き

hellolive

convert Pic02491.png -crop 1100x1987+192+154 test.png

グレースケール変換

magick test.png -colorspace Gray gray_colorspace.png