Commit Graph
193 Commits
Author SHA1 Message Date
Dylan M. Taylor 5606bccb4f Merge remote-tracking branch 'origin/main' into codex/shared-webp-consumer 2026-11-18 07:50:02 -05:00
cf3d0205ef Decode AVIF through shared image codecs (#4312)
* Decode AVIF through shared image codecs

* Include JPEG encoder distribution notices

* Exercise AVIF HDR decoding through public API

* Preserve AVIF source bit depth

* Test AVIF alpha through public entrypoints

* Update AVIF round trip for supported decode

* Document native AVIF decode support

* Clarify import feature gates

* Keep RAW fixtures valid under shared container and strip bounds

* Include sample-to-chunk mappings in CR3 fixtures

* Find Similar test: a photo read from memory isn't a missing read (#3823)

The second search after a stop plans its reads after frames in which the
loupe and filmstrip decoded photos; those are measured from memory
(source_ref takes the cached source), so the drive sees fewer than 12 reads
on a loaded machine. Check instead that no file is read twice, the searched
photo above all; the answer still needs every photo's signature.

* Find Similar test: every photo is measured after the resumed search

* Bound AVIF padded picture storage and preserve integer source flag

* Size the AVIF picture-store budget for the stored canvas, not the clap-cropped size

* Attribute the AVIF lossless decode fixture

* Keep the AVIF clap test helpers free of unwrap for the codecs lint gate

* lightcraft: keep the newer craft-cms pin after merging main

---------

Co-authored-by: Bruno-Alumn <171815746+Bruno-Alumn@users.noreply.github.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
2026-11-18 01:58:41 -05:00
Dylan M. Taylor 33d3498e17 Merge remote-tracking branch 'origin/main' into HEAD
# Conflicts:
#	packaging/linux/flatpak/cargo-sources.json
2026-11-16 23:08:04 -05:00
Dylan M. Taylor 7bb9165c6b Delegate TIFF RAW classification to shared codecs (#4311) 2026-11-16 21:58:44 -05:00
Dylan M. Taylor 9de93337c5 Use shared HEIF metadata and preserve location checks (#4315) 2026-11-16 21:58:40 -05:00
Dylan M. Taylor 85e0a13b44 Refresh WebP header cutover with merged stored-dimension fix 2026-11-16 16:00:48 -05:00
Dylan M. Taylor e0e9a5afeb Merge latest shared PNG cutover and regenerate Flatpak sources 2026-11-16 07:15:23 -05:00
Dylan M. Taylor 74edf78d7c Merge current main and regenerate Flatpak ICC sources 2026-11-16 06:53:15 -05:00
FredApps f0451d9be9 Merge remote-tracking branch 'origin/main' into t4300
# Conflicts:
#	packaging/linux/flatpak/cargo-sources.json
2026-11-16 12:03:46 +01:00
FredApps 292a4c03b0 Merge remote-tracking branch 'origin/main' into t4298
# Conflicts:
#	packaging/linux/flatpak/cargo-sources.json
2026-11-16 12:01:58 +01:00
Dylan M. Taylor d6715fb4c6 Merge pull request #4301 from storytold/codex/shared-psd-writer
Use shared borrowed PSD writer for flat exports
2026-11-16 05:46:02 -05:00
FredApps e92905fac3 Merge pull request #4299 from storytold/codex/shared-bmp-consumer
Use shared BMP coverage inspection
2026-11-16 11:39:42 +01:00
FredApps 4cc84dce91 Merge remote-tracking branch 'origin/main' into t4300
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	packaging/linux/flatpak/cargo-sources.json
2026-11-16 10:50:12 +01:00
Dylan M. Taylor e391fb8ceb Integrate current main and merged shared ICC normalization 2026-11-16 04:47:07 -05:00
FredApps 207c20f558 Merge remote-tracking branch 'origin/main' into t4298
# Conflicts:
#	Cargo.lock
#	Cargo.toml
#	packaging/linux/flatpak/cargo-sources.json
2026-11-16 10:33:04 +01:00
FredApps 526d93387e Merge remote-tracking branch 'origin/main' into t4301
# Conflicts:
#	packaging/linux/flatpak/cargo-sources.json
2026-11-16 10:22:20 +01:00
Dylan M. Taylor 6c00da188a Merge TIFF cutover and regenerate integrated codec sources 2026-11-16 02:48:02 -05:00
FredApps 3e3f477222 Merge remote-tracking branch 'origin/main' into t4301
# Conflicts:
#	packaging/linux/flatpak/cargo-sources.json
2026-11-16 08:39:55 +01:00
FredApps 45f887995b codecs: test PNG header and decode agree on conflicting Orientation entries 2026-11-16 08:32:38 +01:00
FredApps 82acd0b90d Merge main and pin shared crates to craft-libs#1660 merge 2026-11-16 08:32:38 +01:00
FredApps 62c00575c0 Merge main and pin craft-image-codecs to craft-libs#1613 merge 2026-11-16 08:25:42 +01:00
FredApps a1d7168a8a Merge main; main's craft-image-codecs pin (947dc5fb) already contains craft-libs#1610 2026-11-16 08:16:23 +01:00
FredApps 7557fa5f78 Merge remote-tracking branch 'origin/main' into t4270b 2026-11-16 07:38:59 +01:00
Dylan M. Taylor 0466978870 test(codecs): preserve two-plane JXL fixture and large AV1 coverage 2026-11-16 01:34:37 -05:00
FredApps 3e83f87cf2 Merge main into shared PSD writer branch 2026-11-16 07:30:16 +01:00
FredApps 8734e619c3 Merge main and pin craft-image-codecs to craft-libs#1630 merge 2026-11-16 06:51:45 +01:00
Dylan M. Taylor 0d61484dda fix(codecs): preserve AV1 quality-100 quantizer 2026-11-15 22:35:29 -05:00
Dylan M. Taylor 9a81246a52 test: retain JXL post-header truncation coverage 2026-11-15 22:17:24 -05:00
Dylan M. Taylor 629481764e fix(avif): preserve shared encoder threading without repinning other codecs 2026-11-15 19:44:00 -05:00
Dylan M. Taylor f5da4a27d3 Merge pull request #4167 from storytold/lc-switch/craft-psd
Read the PSD header and image resources with craft-psd
2026-11-15 19:39:59 -05:00
Dylan M. Taylor ae702cb5c5 Merge main while preserving AVIF and JPEG cutovers 2026-11-15 19:26:35 -05:00
Dylan M. Taylor 310b26503d codecs: delegate ICC embedding normalization to craft-cms 2026-11-15 18:03:13 -05:00
Dylan M. Taylor 029b2cca4c Merge main while retaining shared PNG inspection cutover 2026-11-15 17:39:11 -05:00
Dylan M. Taylor 697e72c74b Compare legacy EXIF summary behavior 2026-11-15 17:22:22 +00:00
Dylan M. Taylor 08c83c1e0a Use shared legacy EXIF summary 2026-11-15 17:20:44 +00:00
Dylan M. Taylor 0b1aadb018 Preserve legacy WebP EXIF orientation 2026-11-15 17:15:58 +00:00
Dylan M. Taylor 567ee259a8 Preserve legacy PNG EXIF orientation behavior 2026-11-15 17:14:12 +00:00
Dylan M. Taylor 3d524ceef7 Share TIFF decode preflight inspection 2026-11-15 16:17:55 +00:00
Dylan M. Taylor 6b0e7c62e8 Use shared TIFF header validation 2026-11-15 16:15:50 +00:00
Dylan M. Taylor 926b80087e Use borrowed shared PSD writer 2026-11-15 16:01:26 +00:00
Dylan M. Taylor c732a21c68 Use shared PSD builder for flat exports 2026-11-15 15:57:13 +00:00
Dylan M. Taylor 037fbd3da7 Use shared WebP header inspection 2026-11-15 15:50:41 +00:00
Dylan M. Taylor 5a94e113f5 Use shared BMP coverage inspection 2026-11-15 15:46:46 +00:00
Dylan M. Taylor e4edd61b62 Use shared PNG header and color inspection 2026-11-15 15:41:52 +00:00
Dylan M. Taylor 1a74a51b58 Merge branch 'feat/cutover-avif-jxl-tests' of https://github.com/storytold/lightcraft into codex/lightcraft-av1-buffered-caller
# Conflicts:
#	Cargo.toml
2026-11-15 15:17:34 +00:00
FredApps e785d9ccb5 codecs: share the craft-image-codecs image conversion of the PNG, TIFF and AVIF writers
The AVIF cutover added a third copy of the channel-layout and sample match
(Sonar: 8.8% duplication on new code). One helper builds the image; each
writer keeps its own float refusal message.
2026-11-15 15:37:02 +01:00
FredApps 92cfbf0ad0 Merge main into lc-switch/craft-psd
The stack below this branch has landed on main: craft-heif (#4085's content via
#4234 and #4238), craft-gainmap (#4165), and "Read the PSD header and image
resources with craft-psd" itself (f30bd05c via #4234). Take main everywhere, so
this PR carries only what main still lacks: a damaged image-resource section is
left out of the decode instead of refusing the whole file, as before the
craft-psd cutover (8dd2d60a). main already has the valid sidecar-test headers.
2026-11-15 15:29:34 +01:00
FredApps cc2b38145d codecs: keep EXIF, alpha quality and HLG levels in AVIF exports
The craft-image-codecs revision this cutover pinned dropped EXIF from SDR AVIF
(the ravif path wrote it), ignored the alpha quality, and mapped HLG with a
plain OETF that put SDR white at 0.5 instead of BT.2408's 0.75. Pin the
merge of craft-libs#1448, which fixes all three, and test that 8- and 16-bit
AVIF exports keep their EXIF.
2026-11-15 15:29:09 +01:00
FredApps 27638e1b3d Merge remote-tracking branch 'origin/main' into avif 2026-11-15 15:21:48 +01:00
FredApps f8deafaf61 codecs: correct jpeg-encoder licence note and stale jpeg_par path
jpeg-encoder 0.6 still ships inside craft-image-codecs, so it isn't dev-only;
docs/file-format-parity.md still cited the removed jpeg_par.rs.
2026-11-15 15:21:32 +01:00