5 Replies Latest reply on Feb 24, 2017 7:42 AM by MartinKraetke

    [CS6] Export transparent PNG image in InDesign CS6

    Hoang_Huynh Level 1

      I usually export a page item to a transparent PNG image in InDesign CS5.5 (and below) using the following script:

       

      pageItem.exportFile(ExportFormat.pngFormat, exportImageFile);
      

       

      But this script does not work in InDesign CS6: it exports a non-transparent PNG instead. It seems that CS6 adds a new option to decide whether the export PNG image is transparent or not -- and the default value is non-transparent.

       

      I've tried to change this option for a transparent PNG but haven't succeeded, can you please help?