var savefile=new File("~/Desktop/exp.tiff"); var exportOptions = new ExportOptionsTIFF(); exportOptions.IZWCompression = true; app.activeDocument.exportFile(savefile, ExportType.TIFF, exportOptions);