# coding=UTF-8
import win32com.client
im = win32com.client.Dispatch("ImageMagickObject.MagickImage.1")
im.convert("-font", "Tahoma", "-pointsize", "30", "-fill",
"#707070", "-background", "#f0eee4", "label:ImageMagick",
"-gravity", "south", "-splice", "0x20", "-motion-blur",
"0x10+270", "-fill", "#303030", "-background", "none",
"label:ImageMagick", "-gravity", "north", "-composite",
"sample1405a.png")
出力画像(sample1405a.png)
動作環境
Python3.1.1, Python for Windows Extensions (Build 214), ImageMagick6.5.5