J-F-Liu / lopdf

A Rust library for PDF document manipulation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rotate pages

FlyinPancake opened this issue · comments

I'd like to be able to rotate a PDF document. Currently, I don't see any way to achieve this using other rust crates, and this seemed the best place to look.

My example workflow:

  • load a pdf file into memory
  • rotate it 180 degrees
  • save it

Try add a transform to the page content.

Is there a example?