Copy link to clipboard
Copied
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.
No, it's not. JS has no access to the image streams in a PDF file. You can, in principle, overlay the old images with the new ones (using button fields to hold the new images), but then the issue is that you can't detect the location of the old images. In short, you need to look for a different solution.
Copy link to clipboard
Copied
No, it's not. JS has no access to the image streams in a PDF file. You can, in principle, overlay the old images with the new ones (using button fields to hold the new images), but then the issue is that you can't detect the location of the old images. In short, you need to look for a different solution.
Copy link to clipboard
Copied
oh heckety heck
Find more inspiration, events, and resources on the new Adobe Community
Explore Now