Skip to content

feat: add --contrast and --currentpage flags#52

Open
rmitchellscott wants to merge 1 commit intoddvk:masterfrom
rmitchellscott:currentpage-contrastfilter
Open

feat: add --contrast and --currentpage flags#52
rmitchellscott wants to merge 1 commit intoddvk:masterfrom
rmitchellscott:currentpage-contrastfilter

Conversation

@rmitchellscott
Copy link
Copy Markdown

@rmitchellscott rmitchellscott commented Apr 10, 2026

  • Add --currentpage=<N> flag to put (PDF only, 1-indexed). Sets lastOpenedPage in both .metadata and .content, validates against actual PDF page count, and sets pageCount in .content.
  • Add --contrast=<fullpage|off|adaptive> flag to put (PDF and epub only). Sets viewBackgroundFilter in .content.

Closes #51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: option to set currentPage when uploading a pdf via rmapi

1 participant