If your exported ID JPEG is too large then you would be better dealing with using Photoshop. I doubt you wish to use Illustrator of this? Presuming you've just posted in the wrong forum…
Actaully,I write a Delphi base Indesign CS4 automation program (like Vb script, Java script) to generate indd file.
The main function is plate many Name Card pdf file into a huge indd file automatically.
Recently, my client ask new function : export the indd file to JPG file, and the JPG file size only has 20% size of indd file has.
But, I do not have any idea to deal with this.
So, any suggestion?