とりあえず、現時点での最新ソース中を".psd"で検索するとそれっぽい感じのが引っかかった。
gimp-2.0pre2\plug-ins\common\psd.c(3,69) [SJIS]: * This GIMP plug-in is designed to load Adobe Photoshop(tm) files (.PSD) gimp-2.0pre2\plug-ins\common\psd_save.c(3,69) [SJIS]: * This GIMP plug-in is designed to save Adobe Photoshop(tm) files (.PSD)日付は2004/1/19。割と新しいが…大丈夫かな?名前からして、psd_save.cを攻略すれば任務完了な感じ。GNU教徒のCインデントには相変わらず馴染めない…。
static void run (const gchar *name, ←必ず"file_psd_save"
gint nparams, ←使わない
const GimpParam *param, ←[3]の配列。0がrun_mode、1がimage_id、2がdrawable_id、3が表示メッセージ
gint *nreturn_vals,
GimpParam **return_vals);
gint
save_image (const gchar *filename, ←ファイル名
gint32 image_id) ←謎.多分イメージデータへのポインタ。