Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

(CF9) CFPDF - Rotation sanity check

Valorous Hero ,
Feb 08, 2010 Feb 08, 2010

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" />

Rotated90Degress.png

902
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Feb 08, 2010 Feb 08, 2010

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
10
20
30

...

Sizes

3
PDFDocument - struct
height297
width-396

...

Message was edited by: -==cfSearching==-

Message was edited by: -==cfSearching==-

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Feb 09, 2010 Feb 09, 2010

The suggestion was to swap 90 and 270 to get the correct results. This works. Though there is still the page rotations/sizes issue.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
Feb 09, 2010 Feb 09, 2010
LATEST

As nobody has any thoughts on this one. I am going with bug.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources