script-fu の使い方を独学で試しています。次の基本的なスクリプトがあります。これは、新しい画像を作成してから表示すると思いました。
(define (script-fu-test)
(let*
(
(image (car (gimp-image-new 10 10 RGB)))
)
(gimp-display-new image)
(gimp-context-pop)
)
)
私は次のようにスクリプトを呼び出しています:
./gimp-2.8 -i -b '(script-fu-test)'
次のように失敗しています。
batch command experienced an execution error:
Error: ( : 32662) Procedure execution of gimp-display-new failed
私がここで何を台無しにしているかについてのヒントはありますか?
これを Mac OS X で実行しています (つまり、/Applications/Gimp.app/Contents/MacOS/gimp-2.8)。