Skip to content

Store rotation #1941

@KillerCodeMonkey

Description

@KillerCodeMonkey

Before you start - checklist

  • I understand that React-PDF does not aim to be a fully-fledged PDF viewer and is only a tool to make one
  • I have checked if this feature request is not already reported

Description

Currently we are using this wonderful and easy to use lib to show existing pdfs - which works great!

But we have an option to rotate each page.
Now it would be nice to get the new pdf data back when using the "saveDocument or "getData" methods, so we can somehow store that rotation by uploading the changed pdf again :).

Proposed solution

saveDocument or getData should return the data of the currently visible pdf with all "changes" made by transformations/rotations that the lib already supports.
I know this is not possible that easy, because even pdfjs does not saves rotations.

Alternatives

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions