Add macOS HEIC/HEIF import via the system codec - #1643
Open
reville wants to merge 1 commit into
Open
Conversation
17 tasks
This was referenced Aug 31, 2026
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.
Description
Adds macOS HEIC, HEIF, and HIF import support by decoding through Apple's ImageIO system codec. RapidRAW does not ship or statically link an HEVC decoder, avoiding the distribution concern blocking #964 and the bundled-FFmpeg approach explored in #1158.
The original image is never modified and no converted intermediate file is created. RapidRAW decodes into its in-memory RGB working representation; edits remain non-destructive in the normal
.rrdatasidecar, and exporting a finalized image remains a separate action.Related to #66. Alternative implementation to #964 and #1158.
Type of Change
Changes Made
.heic,.heif, and.hifin root/synced folders, recursive discovery/counts, background indexing, file pickers, file associations, and drag-and-drop.Screenshots/Videos
The disclosure modal was exercised locally through the file-open flow. Its complete user-facing copy is included above.
Testing
Test Configuration:
Checks run after rebasing onto current
main:cargo check --manifest-path src-tauri/Cargo.tomlcargo test --manifest-path src-tauri/Cargo.toml --lib— 8 passed, including a real HEIC encoded and decoded with the macOS system codecnpm run test:converted-input— 4 passednpm run buildcargo fmt --manifest-path src-tauri/Cargo.toml -- --checkRepository-wide Clippy currently stops on an existing
collapsible_ifwarning insrc-tauri/src/exif_processing.rs, which is unchanged by this PR. The HEIC patch passed Clippy before rebasing onto the newer upstream commit that introduced that warning.Checklist
Additional Notes
This intentionally starts with macOS because the OS-provided codec is the cleanest distribution model there. The registry and UI gating allow Windows or Linux system-backed decoders to be added independently later without changing the disclosure or import plumbing.
Cloud-sync placeholders may appear in the library before their bytes are downloaded. A zero-byte placeholder cannot be decoded until its provider hydrates it; this is separate from HEIF support.
HDR HEIC content is decoded into RapidRAW's current working color pipeline; exact HDR appearance remains bounded by the application's existing color-management behavior.
AI Disclaimer