gimp.message("Hello Kitty") # 基本輸出 (出現在程式下方)
gimp.set_foreground(r, g, b) # 設定前景顏色
gimp.set_background(r, g, b) # 設定背景顏色
公告版位
需要找什麼嗎? 左邊分類或許可以幫助你...
目前分類:[2D設計] GIMP Python (2)
- Jun 05 Thu 2014 04:47
GIMP Plugin 常用 API (Pythen)
- Jun 05 Thu 2014 01:59
GIMP Python 外掛教學:改顏色
from gimpfu import *
def say_hello_world(img, layer) :
gimp.set_foreground(0, 250, 0) # 設定前景顏色
gimp.set_background(0, 0, 250) # 設定背景顏色
gimp.message("Is Change Color") # 設定完後,在下方顯示訊息
register(
"python_fu_test_hello_world",
"Hello world",