var savefile = new File("~/Desktop/sample.tiff"); var tiffOpt = new TiffSaveOptions(); // TIFF形式オプション tiffOpt.saveImagePyramid = true; // 複数の解像度の画像を保存 activeDocument.saveAs(savefile, tiffOpt, true, Extension.LOWERCASE);