# coding=UTF-8
import win32com.client
im = win32com.client.Dispatch("ImageMagickObject.MagickImage.1")
im.convert("-size", "300x50", "xc:black", "-fx",
"(i+j)%5==0?0:(sin(pi*i/w))*0.6",
"sample1390a.png")
出力画像(sample1390a.png)
動作環境
Python3.1.1, Python for Windows Extensions (Build 214), ImageMagick6.5.5
No comments:
Post a Comment