0 Replies Latest reply on Oct 18, 2012 7:13 AM by Ganesh1982

    Need help in exporting multipage pdf into images


      I come from Flash/Flex background and new to InDesign Server. 


      My requirement is to convert a pdf file consisting of "n" pages into "n" jpeg images. Is it achievable using Indesign Server? What is the api I should use for achieving this?


      I am able to convert only the first page of pdf into jpeg, and the snippet looks something like below:


      inFile = File("d:/myPdfFile.pdf");

      outFile = File("d:/myjpgFile.jpg");

      doc = app.documents.add();


      doc.exportFile(ExportFormat.JPG, outFile);



      I highly appriciate any help regarding this.