# coding=UTF-8
import PythonMagick
# 画像を揺らす
img = PythonMagick.Image("SF.JPG")
img.wave(3,30)
img.write("img18.jpg")
元画像
出力画像

※ubuntuでPythonMagickをインストールするには、以下のコマンドを実行します。
sudo apt-get install python-pythonmagick
動作環境
python 2.6.6, python-pythonmagick 0.9.1
No comments:
Post a Comment