I have a script that exports InDesign documents to PDF, but when I export it, the file size is too big. The document is a product brochure so there are a lot of images. Is there any way that I can make the file size smaller besides the Image Compression in Adobe PDF Preset? I plan on creating a custom preset. I tried the [Smallest File Size] preset but the quality of the images is not good.
It's unrelated to the script you are using.
This has been discussed over and over in the general forum, but it boils down to:
If you have lots of images, there is no way you can have a small file AND good image quality. One of them has to suffer.
That said, you can inspect and possibly clean up your PDF withAcrobat Pro.
(a random selection, I should say).
I see, so it's totally dependent on the presets and there is no script that can help minimize the file size.