Skip to content

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

Merged
ddvk merged 1 commit into
ddvk:masterfrom
rmitchellscott:currentpage-contrastfilter
Apr 21, 2026
Merged

feat: add --contrast and --currentpage flags#52
ddvk merged 1 commit into
ddvk:masterfrom
rmitchellscott:currentpage-contrastfilter

Conversation

@rmitchellscott

@rmitchellscott rmitchellscott commented Apr 10, 2026

Copy link
Copy Markdown
  • 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

@rmitchellscott

Copy link
Copy Markdown
Author

@ddvk

@ddvk ddvk merged commit 29d7b03 into ddvk:master Apr 21, 2026
1 check passed
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

2 participants