2 Replies Latest reply on Mar 28, 2016 3:43 PM by tom warner

    Can javascript be used to batch replace images within a PDF from image files?

    tom warner

      I want to batch process the images within some PDFs. I'm thinking the way to do that would be to export all images from the PDF to separate image files, batch process those in a photo editor, and then use javascript to batch replace the original PDFs' images with the processed versions. However I haven't been able to find any indication of such ability in the Acrobat SDK or any mention on the internets of anybody having tried it. Does anybody know if it's at least in theory possible? Can anyone point me to the right function to use?


      Note that there's more in these PDFs than images, so rebuilding new PDFs from the processed image files is not an option.