Copy link to clipboard
Copied
Hi team,
We have the pdf with default page rotation as 90 degree, however we tried to change the rotation of the PDF by folowwing the below steps, the file size is drastically increased.
Please help us to reduce the file size with Rotation set to zero by default
Steps we followed to rotate the file :
Tools required – Adobe Acrobat Standard, Adobe Acrobat Distiller and PDF Xchange Editor.
1. Convert to PostScript (ps) format:
2. Create PDF setting file:
3. Generate New PDF with 0% Rotation:
4. Replace Pages in Original PDF:
5. Rotate Form Fields with Javascript:
var box = getPageBox();
var w = box[2] - box[0];
var h = box[1] - box[3];
for(i=0; i<numFields; i++)
var f = getField(getNthFieldName(i));
var orig = f.rect;
f.rect = [orig[3], h-orig[0], orig[1], h-orig[2]];
f.rotation = 0;
Copy link to clipboard
Copied
Try this instead:
Run this code in the console window
this.setPageRotations(0,this.numPages,0);
Find more inspiration, events, and resources on the new Adobe Community
Explore Now