Skip to content

feat: export a day's screenshots from History as one PDF - #377

Merged
lzhgus merged 1 commit into
mainfrom
feat/history-export-pdf
Oct 23, 2026
Merged

lzhgus merged 1 commit into
mainfrom
feat/history-export-pdf

Conversation

@lzhgus

@lzhgus lzhgus commented Oct 23, 2026

Copy link
Copy Markdown
Owner

Closes #372. Covers the "save several screenshots as one PDF" part of #282.

  • Each date section in Screenshot History has a new Export Screenshots as PDF button next to its count (shown only when the section has screenshots).
  • The PDF has one screenshot per page, oldest first, built with PDFKit; recordings and GIFs are skipped.
  • The save panel suggests Capso <date>.pdf using the local date.
  • Strings translated for all 10 languages.

Testing

  • New HistoryPDFExportTests: one page per readable image in order, page size matches the image, unreadable files skipped, nothing written when no image can be read.
  • Debug app: exported the 4 screenshots from "Yesterday"; the PDF has 4 pages in capture order at the original sizes and renders correctly.

🤖 Generated with Claude Code

Each date section in Screenshot History gets an export button that
combines its screenshots, oldest first, into a PDF with one capture per
page. Recordings are skipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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] 截图历史中所有图片可以整体导出为PDF文件

1 participant