# coding=UTF-8
import PythonMagick
# 画像をエンボス処理する
img = PythonMagick.Image("SF.JPG")
img.emboss(1,1)
img.write("img15.jpg")
元画像
出力画像

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