var savefile = new File("~/Desktop/sample.bmp"); var bmpOpt = new BMPSaveOptions(); // BMP形式オプション bmpOpt.flipRowOrder = true; // 座標値上下反転 activeDocument.saveAs(savefile, bmpOpt, true, Extension.LOWERCASE);