2008/06/08

GIMP avec Python

P2223287 (by plateaukao)
Olympus E510
Florence, Italy
Flowers

米開朗基羅廣場繞一圈,發現到的。

****

Originally, Gimp only supports script-fu plugins which are written in lisp. From some day that I don't know exactly, Gimp started to support plugins written in python. As a python programmer, I can easily write something for my own purpose. By reading the instructions of the following links, a simple plugin can be written within minutes. However, I do not find many useful examples on the internet. If there's a place on internet to store all the plugins, that would be wonderful.

HOW TO WRITE YOUR OWN PYTHON-FU PLUGIN
1. copy one script from the second link
2. modify the contents as you want, by following the API documentation
3. try out in Gimp
4. add more stuff by referencing PDB browser

REF:
Basi Python-fu API Documentation
Templates

No comments:

Post a Comment

騎士團長殺人事件 --村上春樹

今年的日文小說看完了。篇幅很長,但規模不大,故事都繞著幾個主要的人物。情節裡有些超現實的場景,但最後卻讓人有點意猶未盡,因為有些想搞懂的疑點,在還沒講清之前就結束了。