Repository navigation
feat(documents): read camera RAW and HEIC photos with anytopdf - #233
Merged
Merged
Conversation
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
…-rtbacf # Conflicts: # CHANGELOG.md
21 of 23 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.converterislens). 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_EXTandCAMERA_EXTjoin the image extensions.convert.unavailableasks for anytopdf on them, anddocuments.transcribesends them throughanytopdf.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
Checklist:
make hookschecks it on commit).docs/accordingly.## UnreleasedinCHANGELOG.md.🤖 Generated with Claude Code
https://claude.ai/code/session_013gyPDjzCzf39uzEj57k8ju
Generated by Claude Code