Commit Graph
2792 Commits
Author SHA1 Message Date
Bram Heerink 6d590ce432 Extract PSD guide resource decoding for shared consumers
Adapt PhotoCraft f49564d281bf8892db58ed154767717223aff4f6 to a validated allocation-free iterator; retain caller-owned guide policy.
2026-11-15 13:17:03 -05:00
Dylan M. Taylor e9c818bcfe jpeg: share decoded sample RGBA conversion 2026-11-15 18:12:23 +00:00
Dylan M. Taylor f44195aa11 Reject damaged later SVGZ members 2026-11-15 18:12:18 +00:00
Dylan M. Taylor 1fdb3934b5 ps: check selected glyphs before text labeling 2026-11-15 18:09:31 +00:00
FredAppsandDylan M. Taylor 8bd1412eaa craft-dxf: add VectorCraft's ASCII drawing writer (#1588)
* craft-dxf: add VectorCraft's ASCII drawing writer

Move the incremental file writer from vectorcraft-cad (crates/cad/src/writer.rs)
into craft_dxf::drawing. It writes the HEADER/TABLES/BLOCKS/OBJECTS skeleton
around a pre-built ENTITIES section, which is the format API VectorCraft's
scene mapper already uses. The existing model::write tag serializer is
unchanged.

Golden files lock the bytes for empty and one-LINE drawings in R12, 2000 and
2018. Part of #791 / #778.

* test(dxf): preserve exact golden bytes on Windows checkout

* fix(dxf): preserve BYBLOCK and use valid image dictionary keys

* test(dxf): clone images before write in dictionary-key test

Drawing::write takes self, so the assertions have to use a clone of
the image list. The rest of the test is unchanged.

---------

Co-authored-by: Dylan M. Taylor <dylan@dylanmtaylor.com>
2026-11-15 19:07:46 +01:00
Dylan M. Taylor 204240ad80 ps: keep synthesized text spans inside clip scopes 2026-11-15 18:07:43 +00:00
Dylan M. Taylor ef9b72796c jpeg: share Adobe APP14 transform inspection 2026-11-15 18:07:37 +00:00
Dylan M. Taylor d181e08d3d Read selected merged PSD planes without parsing layers (#1623)
* Read selected merged PSD planes without parsing layers

* Validate merged PSD payload bounds without decoding

* Expose declared dimensions for limit reporting

* Cover complete and truncated merged payloads
2026-11-15 13:04:18 -05:00
Dylan M. Taylor 902a722422 Allow independent XML plist token budgets 2026-11-15 13:02:56 -05:00
Dylan M. Taylor 9ed120e6b1 Merge pull request #1622 from storytold/codex/dxf-mtext-tokenizer
Add streaming MTEXT lexical tokens
2026-11-15 13:01:02 -05:00
Dylan M. Taylor 24c496e95a Format strict XML attribute flood regression 2026-11-15 18:00:22 +00:00
Dylan M. Taylor 16d838105b Write flat PSD from borrowed samples (#1620)
* Write flat PSD from borrowed interleaved samples

* Cover multiple PSD rows and planes

* Document flat PSD inputs and satisfy lint
2026-11-15 12:59:08 -05:00
Dylan M. Taylor c764268705 Allow ZIP archives to own their input 2026-11-15 17:56:52 +00:00
Dylan M. Taylor e56b4e3cd4 Deduplicate EXIF orientation and ColorSpace through craft-metadata (#1465)
Extract the remaining metadata delegation from #1198 after #1331 landed the raster facade changes. Preserve current image-codecs API, pixel transforms, docs and regression tests; omit unrelated resolution reexports and TIFF cleanup.

Original-change: 1d52e89405
2026-11-15 12:55:47 -05:00
Dylan M. Taylor affd53bf5f Merge remote-tracking branch 'origin/main' into codex/flac-main-reconcile
# Conflicts:
#	crates/audio/Cargo.toml
#	crates/audio/src/lib.rs
2026-11-15 17:52:06 +00:00
Dylan M. Taylor 0d87f371ad Merge pull request #1591 from el-j/feat/captions-ass
craft-captions: ASS and SSA subtitles
2026-11-15 12:51:03 -05:00
Dylan M. Taylor 993749338d Merge pull request #1618 from storytold/codex/aaf-property-bound
aaf: bound duplicate property detection work
2026-11-15 12:49:45 -05:00
Dylan M. Taylor 7b7568d95e Merge pull request #1608 from storytold/codex/wav-range-cutover
audio: share bounded range-backed WAV PCM access
2026-11-15 12:49:32 -05:00
Dylan M. Taylor 99007f1915 Allow strict duplicate error in attribute flood test 2026-11-15 17:45:11 +00:00
Dylan M. Taylor 9a9b89e9e8 Reject duplicate attributes in strict XML reads 2026-11-15 17:43:57 +00:00
vangel76 efec6dc712 Merge remote-tracking branch 'upstream/main' into perf/raw-cr3-1654 2026-11-15 18:43:25 +01:00
Dylan M. Taylor a6493b48f0 Fix JPEG-LS low-precision expansion and scan allocation cap 2026-11-15 12:38:25 -05:00
Dylan M. Taylor 10f0fac31c Merge pull request #1619 from storytold/codex/dxf-mtext-escapes
Share MTEXT Unicode and MIF escape decoding
2026-11-15 12:38:03 -05:00
Dylan M. Taylor 6325cd286b Test AVIF source depth and decoded-image parity 2026-11-15 17:37:54 +00:00
Dylan M. Taylor a05083e2f0 Expose original AVIF sample depth during decode 2026-11-15 17:37:40 +00:00
Dylan M. Taylor a31327d5f1 webp: validate decoder canvas before frame allocation 2026-11-15 17:36:53 +00:00
vangel76andClaude Opus 5.5 4904d6367a test(raw): a corrupt CR3 QP map is reported as a QP error, not a plane error
Part of #1654

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:35:06 +01:00
vangel76 63f8fed71a Merge remote-tracking branch 'upstream/main' into perf/raw-raf-1656 2026-11-15 18:34:35 +01:00
vangel76andClaude Opus 5.5 ee87ab6c9e style(raw): rustfmt and clippy for the CR3 decoder changes
Part of #1654

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:33:35 +01:00
Dylan M. Taylor aec3d5a79b Include optional SGI codec in coverage build 2026-11-15 17:32:46 +00:00
vangel76 501738821e Merge remote-tracking branch 'upstream/main' into perf/raw-cr3-1654 2026-11-15 18:31:35 +01:00
vangel76andClaude Opus 5.5 68181b7d15 fix(raw): keep tile-then-plane error order for QP maps; doc and test review points
A tile's QP map error is reported by its first plane job, so a later tile's
corrupt map no longer wins over an earlier tile's plane error. Equivalence
tests also compare error texts; the corpus test fails when the folder holds
none of the pinned files; docs/cr3.md says when the sensor buffer is allocated.

Part of #1654

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:31:35 +01:00
Dylan M. Taylor a553c9f734 timeline: offer bounded OTIO diagnostics 2026-11-15 17:29:43 +00:00
Dylan M. Taylor c9de09877b Share bounded BMP coverage inspection (#1610) 2026-11-15 12:29:34 -05:00
Dylan M. Taylor 418215d00a Count both merged JPEG-LS and SGI format entries 2026-11-15 17:29:03 +00:00
Dylan M. Taylor 90df9a4d99 Gate SGI codec support behind explicit feature 2026-11-15 17:28:29 +00:00
vangel76andClaude Opus 5.5 308e5c8519 test(raw): name the plane type in the interleave test
Part of #1654

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:27:31 +01:00
Dylan M. Taylor 9f18482853 Merge remote-tracking branch 'origin/main' into codex/sgi-main-reconcile
# Conflicts:
#	crates/image-codecs/README.md
#	crates/image-codecs/src/format.rs
#	crates/image-codecs/src/lib.rs
#	crates/image-codecs/tests/it/detect_caps.rs
2026-11-15 17:26:03 +00:00
Dylan M. Taylor b3b8521ab4 Initialize JPEG budget regression limits directly 2026-11-15 17:24:59 +00:00
Dylan M. Taylor 8503f24cb8 Merge pull request #1595 from storytold/extract/cms-srgb-v2
cms: share the byte-compatible ICC v2 sRGB generator
2026-11-15 12:23:08 -05:00
Dylan M. Taylor 2d0d993c6d Merge pull request #1594 from storytold/feat/psd-tysh-envelope
psd: share editable TySh binary envelope
2026-11-15 12:23:02 -05:00
Dylan M. Taylor f5a22a008c Merge pull request #1576 from el-j/feat/image-codecs-jpegls
craft-image-codecs: JPEG-LS reader and writer
2026-11-15 12:22:57 -05:00
Dylan M. Taylor d1f67cae22 Merge pull request #1578 from el-j/feat/video-ffv1
craft-video: FFV1 lossless video (version 3, range coder) decoder and encoder
2026-11-15 12:22:53 -05:00
Dylan M. Taylor adf049efb3 Merge pull request #1572 from el-j/feat/audio-qoa
craft-audio: QOA (Quite OK Audio) decoder and encoder
2026-11-15 12:22:50 -05:00
vangel76andClaude Opus 5.5 7566f61bad perf(raw): run CRX wavelet synthesis on whole rows, in parallel
The vertical lifting combined strided columns one at a time; it now lifts
whole rows, per pair of output rows in parallel, with the same integer
equations and edge rules (i64 floor shifts equal the div_euclid it replaces).
The horizontal pass runs its rows in parallel and drops the Result per sample;
overflow is still an error. Differential tests compare both passes with the
previous implementation for every size 1..=17 and every edge combination.

Part of #1654

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:20:39 +01:00
vangel76 2a36edaa15 Merge upstream/main into perf/raw-ljpeg-nef-1655 2026-11-15 18:19:02 +01:00
vangel76andClaude Opus 5.5 9ea6cf1ec3 perf(raw): decode all CR3 tiles in parallel and interleave them by row pairs
Every plane of every tile is one parallel task that ends in sensor samples;
the mosaic is then filled per output row pair in parallel, without a modulo,
division, bounds check or Result per sample. The first error in tile and
plane order is still the one reported, and the sensor buffer is allocated
only after every plane has decoded. The CC0 corpus test also pins the four
EOS R5 Mark II files and skips files that are not present.

Part of #1654

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:18:47 +01:00
vangel76andClaude Sonnet 5.5 40e7af21d6 Record corpus hashes and cover every quantizer table in the differential test
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-15 18:18:37 +01:00
Dylan M. Taylor 0325b2d736 Merge pull request #1606 from storytold/codex/base64-legacy-compatible
Add opt-in legacy Base64 compatibility
2026-11-15 12:17:04 -05:00
vangel76andClaude Opus 5.5 ae11e0ae47 perf(raw): decode C-RAW subbands in parallel, one quantization step per band or QP cell
The ten subbands of a plane are separate entropy streams; the first error in
band order is still the one reported. The step is looked up once per band, or
once per QP cell for adaptive gains, instead of once per coefficient.

Part of #1654

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 18:16:45 +01:00