I have a simple script to replace an image in an indd document then export as a .pdf. Problem is that on larger files(maybe cause works fine with thumbs) Indesign Server rotates the image 90 degrees counter-clockwise. I have graphic.flip=1852796517 just to try to stop it from flipping but no avail. I also have the following fitOptions:
proportionally,centerContent, and frameToContent. I can post a code snippet if this would be helpful.