# coding=UTF-8
import win32com.client
im = win32com.client.Dispatch("ImageMagickObject.MagickImage.1")
im.convert("sf2.jpg", "-blur", "0x1", "-fx", "p*0.7+rand()*0.3",
"-colorspace", "gray", "-emboss", "1", "(", "-size", "300x225",
"gradient:#FFFF1050-#3070A050", ")", "-composite",
"sample1363a.png")
元画像(sf2.jpg)
出力画像(sample1363a.png)
動作環境
Processing 1.0.7
No comments:
Post a Comment