# coding=UTF-8
import win32com.client
im = win32com.client.Dispatch("ImageMagickObject.MagickImage.1")
im.convert("sf2.jpg", "-alpha", "activate", "-channel", "a",
"-fx", "j%2==0?1:0", "-channel", "RGBA", "(", "sf2.jpg",
"-motion-blur", "0x5+180", ")", "+swap", "-composite",
"sample1393a.png")
元画像(sf2.jpg)
出力画像(sample1393a.png)
動作環境
Python3.1.1, Python for Windows Extensions (Build 214), ImageMagick6.5.5
No comments:
Post a Comment