var savefile = new File("~/Desktop/sample.sgi"); var sgiOpt = new SGIRGBSaveOptions(); // SGI-RGB形式オプション sgiOpt.alphaChannels = true; // αチャンネル activeDocument.saveAs(savefile, sgiOpt, true, Extension.LOWERCASE);