Windows 版 GIMP 2.10.x 向けに自作した Python-fu スクリプトを単体テストする方法を説明する。 GIMP にはバッチ実行機能が備わっており、GUI を起動することなくスクリプトの実行が可能である。
def do_gimp_script(self, _files_t:list, border_rgb:tuple, img_width:int, border_width:int, event=None) -> int: ...