8000 feat(documents): read camera RAW and HEIC photos with anytopdf by adeelahmad · Pull Request #233 · adeelahmad/lense · GitHub
[go: up one dir, main page]

Skip to content

feat(documents): read camera RAW and HEIC photos with anytopdf - #233

Merged
adeelahmad merged 3 commits into
mainfrom
claude/project-thread-rtbacf
Oct 9, 2026
Merged

adeelahmad merged 3 commits into
mainfrom
claude/project-thread-rtbacf

Conversation

@adeelahmad
Copy link
Copy Markdown
Owner

Requested by Adeel · project thread

Description

Before: uploading a camera RAW photo (DNG, CR2, CR3, NEF, ARW, ORF, RAF, RW2) or an iPhone HEIC/HEIF photo did nothing useful, since Lens can't open those images.

After: anytopdf reads them, whether it runs here or on a conversion node (unless documents.converter is lens). Without it, an upload says what it needs and scans skip the files. RAW photos get the new Camera RAW photo content type.

How: store.RAW_EXT and CAMERA_EXT join the image extensions. convert.unavailable asks for anytopdf on them, and documents.transcribe sends them through anytopdf.to_pdf. The frontend lists the new extensions.

Motivation and Context

Part of the anytopdf integration plan: new resource subtypes from anytopdf output.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • The title is a Conventional Commit.
  • My code follows the code style of this project (make hooks checks it on commit).
  • I added or updated tests.
  • My change requires documentation updates, and I have updated docs/ accordingly.
  • Users need more than the title to understand it, so I wrote it under ## Unreleased in CHANGELOG.md.

🤖 Generated with Claude Code

https://claude.ai/code/session_013gyPDjzCzf39uzEj57k8ju


Generated by Claude Code

claude added 3 commits October 9, 2026 10:46
DNG, CR2, CR3, NEF, ARW, ORF, RAF, RW2, HEIC and HEIF are images Lens
can't open, so anytopdf reads them wherever it is here or a node is set
(unless documents.converter is `lens`); without it, an upload says what
it needs and scans pass them by. RAW photos get the new Camera RAW photo
content type.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013gyPDjzCzf39uzEj57k8ju
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013gyPDjzCzf39uzEj57k8ju
@adeelahmad
adeelahmad merged commit 3b90d83 into main Oct 9, 2026
7 checks passed
@adeelahmad
adeelahmad deleted the claude/project-thread-rtbacf branch October 9, 2026 11:08
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.

2 participants

0