Copy link to clipboard
Copied
The following should rotate a pdf's pages by 90 degrees. Does anyone else think the rotation is backwards? I would have expected it to work clockwise (ie the logo should be in the top right corner, not bottom left).
<cfpdf action="transform"
source="c:\myFile.pdf"
destination="c:\myFileRotated.pdf"
rotation="90"
overwrite="true" />
Copy link to clipboard
Copied
Hm, I just noticed the reported page rotations and sizes are off too.
<cfpdf action="read" source="c:\myFileRotated.pdf" name="data">
<cfdump var="#data#">
Rotations
PDFDocumentarray | |
---|---|
1 | 0 |
2 | 0 |
3 | 0 |
...
Sizes
3 |
|
...
Message was edited by: -==cfSearching==-
Message was edited by: -==cfSearching==-
Copy link to clipboard
Copied
The suggestion was to swap 90 and 270 to get the correct results. This works. Though there is still the page rotations/sizes issue.
Copy link to clipboard
Copied
As nobody has any thoughts on this one. I am going with bug.