LightCraft: An open-source non-destructive photo editor written by scratch in pure Rust
Merge slideshow-templates into slideshow-export (origin/main: batch 31; whats-new keeps main's Reliability entry, parity summary refreshed)
Jason Baldwin6ec7044ebf12
diff --cc crates/codecs/src/lib.rsindex d674a0793,c96c5334a..9854edadd--- a/crates/codecs/src/lib.rs+++ b/crates/codecs/src/lib.rs@@@ -9,9 -9,9 +9,10 @@@//! - [`read_header`] reads a file's stored dimensions and orientation from its headers, without//! decoding pixels (import probes).//! - [`decode_thumbnail`] is the fast path for grid thumbnails (EXIF thumbnail or DCT-scaled decode).- //! - [`encode`] writes JPEG, PNG, TIFF, lossless WebP and (native, feature `avif`) AVIF, embedding+ //! - [`encode`] writes JPEG, PNG, TIFF, lossless WebP and, on native targets, AVIF (feature `avif`) and+ //! JPEG XL ([`encode_jxl`], feature `jxl`), embedding//! ICC/EXIF/XMP. [`icc::write_matrix_trc`] builds profiles for export.+//! - [`video`] encodes AV1 video (native, feature `avif`) and writes it as MP4 or WebM.//!//! No decoder panics on malformed input (property-tested).#![forbid(unsafe_code)]diff --cc crates/ui-egui/src/lib.rsindex 9c61c1ba1,76103ebdb..73ef8c32d--- a/crates/ui-egui/src/lib.rs+++ b/crates/ui-egui/src/lib.rs@@@ -1304,8 -1300,8 +1304,9 @@@ impl LightcraftApppanels::dialogs::show(self, &ctx);panels::library_problem::show(self, &ctx);export_task::poll(self, &ctx);+ slideshow_export::poll(self, &ctx);panels::activity::show(self, &ctx);+ export_task::poll_photos(self, &ctx);pick::poll(self, &ctx);panels::grid::drag_feedback(self, &ctx);panels::left::album_drag_feedback(self, &ctx);diff --cc docs/parity-checklist.mdindex eaad5043d,5f87c658b..cce8d98a1--- a/docs/parity-checklist.md+++ b/docs/parity-checklist.md@@@ -52,10 -52,10 +52,10 @@@ cited here still exists. Formerly docs/| X. Cross-cutting behaviours (BEHAV) | 23 | 6 | 1 | 1 | 8/8 (100%) | 7/10 (70%) || Y. Menus | 84 | 0 | 4 | 8 | 47/47 (100%) | 23/23 (100%) || Z. Keyboard shortcuts (desktop) | 76 | 3 | 3 | 1 | 49/52 (94%) | 23/24 (96%) |-| Lightroom Classic extras | 36 | 21 | 28 | 8 | — | 24/26 (92%) |-| **Total** | 410 | 56 | 65 | 35 | 193/201 (96%) | 145/157 (92%) |+| Lightroom Classic extras | 36 | 22 | 27 | 8 | — | 24/26 (92%) |- | **Total** | 409 | 56 | 65 | 35 | 192/200 (96%) | 145/157 (92%) |++| **Total** | 410 | 57 | 64 | 35 | 193/201 (96%) | 145/157 (92%) |- Weighted completion (✅ = 1, 🟡 = ½, 🚫 left out): **82.5%** of 530 in-scope rows — P0 98.0% of 200 · P1 95.2% of 157 · P2 52.6% of 172.-Weighted completion (✅ = 1, 🟡 = ½, 🚫 left out): **82.5%** of 531 in-scope rows — P0 98.0% of 201 · P1 95.2% of 157 · P2 52.6% of 172.++Weighted completion (✅ = 1, 🟡 = ½, 🚫 left out): **82.6%** of 531 in-scope rows — P0 98.0% of 201 · P1 95.2% of 157 · P2 52.9% of 172.<!-- /parity:summary -->## Top gaps and shortcut notesdiff --cc docs/whats-new.mdindex 3e2e8a0aa,197184d9d..75d14ec0f--- a/docs/whats-new.md+++ b/docs/whats-new.md@@@ -32,22 -41,11 +41,27 @@@the other editor (Edit in Other Editor, now ⌥⌘E), and where PhotoCraft is if you use a portable copy.- Export can write PSD too (flat, 8- or 16-bit).+ ### Reliability+ - Upgrading from a Windows installer older than 0.6 (such as 0.5.0) keeps LightCraft in the folder it was installed+ in, instead of moving it back to Program Files (issue #399). If that folder has been deleted since, the upgrade+ installs to Program Files.++### Slideshow export: PDF, JPEG and video+- View ▸ Export Slideshow… (or the Export buttons at the end of Settings ▸ Slideshow) writes the slideshow out, like+ Lightroom Classic's Export PDF, Export JPEG and Export Video: the photos in view as their slides, with the layout,+ overlays and the intro and ending screens, in view order.+- **PDF:** one page per slide at 1024, 1920 or 3840 pixels on the long side, at a JPEG quality you choose. Each page+ carries the slide duration and fade, so a PDF viewer's presentation mode plays it as a slideshow, and "Automatically+ show full screen" asks the viewer to open it that way.+- **JPEG:** numbered files (`Holiday-001.jpg`, `Holiday-002.jpg`…) in a new folder.+- **Video:** AV1 video in an MP4 (or WebM) file at 720p or 1080p, 24 or 30 frames per second: each slide stays up for+ its duration and the fades are rendered frame by frame (crossfades, or fades through the fade colour). The video has+ no sound yet. It is AV1 rather than Lightroom's H.264, which has no open encoder we can ship; current browsers,+ VLC and recent phones and TVs play it.+- The export runs in the background with its row in the activity stack; ✕ stops it and leaves no half-written file+ behind. A photo that can't be read is skipped and named in the message at the end. Agents use `slideshow.export`+ (`slideshow.exportStatus` for the result).+### Slideshow templates- Settings ▸ Slideshow now opens with a template browser, like Lightroom Classic's Template Browser. A template holdseverything about how a slideshow looks and plays: the playback timing and fades, the layout, options and backdrop,