2 Replies Latest reply on Jul 10, 2012 1:17 PM by Mayur.B

    is it possible to export png use RGB color mode

    michael.shen Level 1

      hi,guys.

      I use the following code to export the png , now is it possible to export png use RGB color mode?

      Or is it possible to set it when export it

       

      var pngOpts = new ExportOptionsSaveForWeb;

                                  pngOpts.format = SaveDocumentType.PNG;

                                  pngOpts.PNG8 = false;

                                  pngOpts.transparency = true;

                                  pngOpts.interlaced = false;

                                  pngOpts.quality = 80;

                      doc.exportDocument(saveFile, ExportType.SAVEFORWEB, pngOpts);