Commit Graph
73 Commits
Author SHA1 Message Date
Claude 56757f12d3 feat(imaging): thumbs.pack, thumbnail LRU cache and proxy builder
ThumbnailPack appends self-describing CRC-checked JPEG entries (320 px,
q80) and index records; a two-slot header flips to each new index, so
crashes and truncation lose only the damaged tail, and compaction
rewrites live entries through AtomicFile. Reads are positional and run
concurrently with the writer. ThumbnailCache is a byte-budget LRU that
coalesces concurrent loads. ProxyBuilder decodes at the policy long
edge with orientation applied and writes JPEG q92 with the source Exif
(capture time kept, orientation reset).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:21:58 +00:00
Claude 4a817340b8 feat(imaging): managed decoder provider, decoder chains and format tiers
ManagedDecoderProvider decodes JPEG/PNG/TIFF natively, DNG and the
supported RAWs through RawDecoder, and falls back to the largest
suitable embedded JPEG (oriented like the main image) for other RAWs,
CR3, HEIF and unsupported bodies. Requests use JPEG DCT scaling, CFA
binning when MaxLongEdge allows, bilinear demosaic for thumbnails and
analysis, and ForcePreview. DecoderFactory builds the client (WIC then
managed) and server chains and the per-format tier table; Probe gives
the per-file tier without decoding.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:17:15 +00:00
Claude 7e157cbf72 feat(raw): native CR2, NEF, ARW, PEF and RAF decoders
Each container reader builds a RawFrame for the shared pipeline: CR2
sliced lossless JPEG with SensorInfo crop, masked-column black and
ColorData WB; NEF uncompressed and Nikon Huffman (lossy type 1,
lossless, lossy type 2 incl. split); ARW uncompressed and ARW2 cRAW
with tone curve; PEF uncompressed and Pentax Huffman; RAF uncompressed
Bayer and X-Trans with FujiIFD. Colour comes from a dcraw adobe_coeff
matrix table; bodies without an entry are reported unsupported so the
caller uses the embedded preview. Native RAWs detect the sensor's
saturation level for clipping only, never rescaling per frame.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 11:13:18 +00:00
Claude 1b3a691f76 feat(raw): DNG development pipeline with AHD demosaic, opcodes and DNG colour
Reads CFA and LinearRaw DNGs (compression 1/7/8/34892), linearises with
LinearizationTable, BlackLevel (repeat + deltas) and WhiteLevel over the
ActiveArea, applies OpcodeList1-3 (GainMap, WarpRectilinear,
FixVignetteRadial, FixBadPixels*, TrimBounds, MapTable/MapPolynomial,
Delta/ScalePer*), solves white balance per DNG 1.6 chapter 6 (CCT
interpolation, ForwardMatrix, Bradford to D65), demosaics with AHD
(Hirakawa & Parks 2005), bilinear, a neighbourhood interpolation for
non-Bayer CFAs or binning, and reconstructs clipped highlights.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:56:34 +00:00
Claude d3d1c5db0d style: whitespace after codecs merge; record codec decisions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:17:37 +00:00
Claude 1c09d8059a merge: managed codecs (JPEG baseline/progressive/lossless, PNG, TIFF, linear DNG, resampler)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:16:18 +00:00
Claude 6aacaff882 fix(codecs): size JPEG bit-writer buffers in 64-bit arithmetic
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:14:41 +00:00
Claude f2c0709ef2 refactor(codecs): pool luminance rows and gate timing on optimised builds
EncodeRow8/16 reuse one pooled scratch row for RGB-to-gray output
instead of allocating per row; drop unused JPEG marker constants; the
24 MP timing test skips itself when the JIT optimiser is disabled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:12:49 +00:00
Claude 78dad093ab fix(codecs): read TIFF strips larger than the 64 MB per-read cap
Single-strip uncompressed files (Photoshop's default) exceed
TiffReader's bounded read; such strips are now read in pieces, the
uncompressed path skips a copy, and hostile strip/tile counts are
rejected up front.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:12:49 +00:00
Claude a15cecd658 fix(windows): initialise COM on threads entering Media Foundation; record video decisions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:11:17 +00:00
Claude f74ca54b33 merge: MP4/AVI/GIF/APNG writers, bitstream parsers, MP4 inspector, Media Foundation encoder
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:10:03 +00:00
Claude aba6d629b9 fix(video): roll back rejected MP4 samples and keep inspector reports read-only
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:07:59 +00:00
Claude 5861d6d640 feat(imaging): add separable resampler and pixel conversion tests
Two-pass Lanczos3 (downscale, support stretched by the reduction) and
Catmull-Rom (upscale) with normalised, edge-folded weights; exact
area-average box path for thumbnails; pass order chosen by cost,
Vector<float> inner loops, parallel rows. Tests cover constant images,
energy preservation, step ringing against the kernel's exact discrete
bound, Exif orientations and dithering.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:06:17 +00:00
Claude 45518e8e4e feat(windows): add Media Foundation encoder provider/session and DXGI adapter enumeration
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:05:36 +00:00
Claude ec71b2fc91 merge: metadata parsers (Exif/XMP/MPF, TIFF RAWs, CR3/HEIF, RAF, WebP, PNG, MakerNotes, ExifWriter)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:04:58 +00:00
Claude c7d8dcd0bd feat(codecs): add linear DNG writer
16-bit LinearRaw DNG 1.4 with tiles (lossless JPEG or uncompressed),
ColorMatrix1 = XYZ(D65) to linear sRGB, ForwardMatrix1 to XYZ(D50),
D65 illuminant, neutral AsShotNeutral, WhiteLevel 65535 and optional
Exif. LibRaw renders test patches back to the exact source values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:02:27 +00:00
Claude 6d9ede0c47 feat(codecs): add TIFF raster reader and TIFF writer
TiffImageReader decodes strips and tiles (chunky or planar) with none,
LZW (old-style bit order tolerated), Deflate, PackBits and JPEG
compression (JPEGTables, YCbCr or RGB, lossless SOF3 tiles reshaped as
DNG writes them), predictors 2/3 and the DNG x2/x4 variants, 1-16 bit
integer and 16/32-bit float samples; tiles decode in parallel. Output
is a raw TiffRaster or a linear ImageBuffer. JPEG strips match libtiff
bit for bit.

TiffWriter writes 8/16-bit gray/RGB/RGBA, uncompressed or Deflate with
horizontal predictor, and embeds capture metadata from an Exif block.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:02:27 +00:00
Claude ef9d284496 feat(metadata): add ExifWriter for proxies and exports
BuildTiff writes a little-endian TIFF with IFD0 (camera, orientation,
software, date, authorship, resolution), the Exif IFD (capture time
with sub-seconds and offset, exposure, ISO with RecommendedExposureIndex
above 65535, focal lengths, bias, body serial, lens) and a GPS IFD when
known. BuildJpegApp1 wraps it in a complete APP1 segment; strings are
capped at 2000 UTF-8 bytes on character boundaries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:01:45 +00:00
Claude c8ed872fb5 feat(metadata): add signature detection and MetadataReader
ImageSignature.Detect identifies every BRIEF 8.1 format by magic bytes,
refining TIFF-based RAWs by the CR2 marker, DNGVersion and Make, and
ISO-BMFF files by ftyp brands; the extension only breaks ties.
MetadataReader.Read (path or seekable stream) dispatches to the
container parsers, opens files shared for read/write/delete with a
small buffer, honours cancellation and turns any parser defect into a
warning so malformed input never throws.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:01:38 +00:00
Claude 1df3f15240 feat(metadata): parse RAF, PNG, WebP and minimal formats
RAF: embedded JPEG Exif and preview, size from the RAF directory
(0x0111 cropped, else 0x0100), bit depth from the FujiIFD. PNG: IHDR,
eXIf and iTXt/tEXt XMP (zlib supported), seeking over image data.
WebP: VP8X canvas or VP8/VP8L headers, EXIF and XMP chunks. GIF and
BMP sizes, the JPEG XR IFD and the JPEG XL size header plus container
Exif/XML boxes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:01:30 +00:00
Claude 63d1855f82 feat(core): project settings with Auto/manual values and export presets
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:01:27 +00:00
Claude 28c4d5ca7f feat(metadata): add ISO-BMFF walker with HEIF and CR3 parsers
BmffReader reads box headers only (32/64-bit and to-end sizes, uuid
user types, per-container count and path depth caps). HeifParser
handles hdlr/pitm/iinf (infe v2/v3)/iloc (v0-v2, multi-extent, idat)/
iprp: size from the primary item's ispe, bit depth from pixi, Exif and
XMP items; irot/imir define the orientation and override Exif because
HEIF decoders apply them. Cr3Parser reads CMT1-4 and THMB from the
Canon uuid box, PRVW, the XMP uuid, track 1's full-size JPEG through
the sample tables and the raw size from the CRAW/CMP1 header.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:01:21 +00:00
Claude d12c0b41c5 feat(metadata): parse TIFF/Exif, JPEG segments and MakerNotes
ExifParser walks IFD0, Exif, GPS and SubIFDs, selects the main raster
(largest full-resolution IFD), and enumerates embedded JPEG previews
(JPEGInterchangeFormat, single-strip/tile Compression 6/7, lossless
raw strips excluded). JpegParser scans APP1 Exif/XMP/extended XMP,
APP2 MPF large thumbnails and SOFn up to SOS, tolerating fill bytes
and garbage. Vendor MakerNotes (Canon, Nikon, Sony, Fujifilm,
Olympus/OM, Panasonic) fill serial, lens, shutter count, stabiliser,
ISO and colour temperature only when standard tags did not.
TiffTags gains GPSVersionID, GPSStatus, YCbCrPositioning,
StandardOutputSensitivity and ISOSpeed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:01:12 +00:00
Claude 654c45a274 feat(metadata): add parser infrastructure and XMP reader
Bounds-checked positional stream reads, an in-memory span reader,
Exif/XMP date parsing, and the MetadataBuilder accumulator that applies
every fallback chain (timestamps, ISO, serial/lens, orientation,
preview kinds) in one place. XMP is read with XmlReader (no DTDs, no
resolver, 4 MB cap) in both attribute and element forms.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:01:00 +00:00
Claude 9fbc8e5ba8 merge: motion and geometry modules
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:58:27 +00:00
Claude 506ead9bc2 merge: analysis modules and math
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:57:39 +00:00
Claude 17bdaeebf6 docs(motion): clarify stabiliser option and memory summaries
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:56:35 +00:00
Claude 3bc55449ae refactor(math): drop unused vector helpers and test moments
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:56:27 +00:00
Claude 5738fc1694 perf(motion): vectorise the flow median filter and parallelise stabiliser patches
The flow median filter runs the odd-even transposition network on
Vector<float> blocks in the interior (shared with the temporal median),
which removes the dominant cost of Best-quality flow. The stabiliser
analyses its nine patches in parallel with one correlator each and
gathers results in patch order, so output stays deterministic. Adds
brute-force reference tests for the median, box and binomial kernels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:53:03 +00:00
Claude a50ad7deb0 feat(analysis): add white-balance smoother
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:51:43 +00:00
Claude f6adbf7a31 feat(analysis): add holy-grail exposure step redistribution
Metadata steps are verified against the detrended measured jump; only
received steps are removed, the step-free series deflickered and the
steps restored as smoothstep transitions that lengthen until no frame
step exceeds 0.3 EV.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:51:43 +00:00
Claude 731ab2c48b feat(analysis): add sky/land segmentation and region deflicker
Horizon from the strongest column-averaged row step (median over
frames), refined per column by a dynamic-programming path and feathered;
Otsu luminance fallback with morphology; confidences for both. Region
deflicker fits sky and land separately and blends through the mask.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:51:43 +00:00
Claude d6772d2602 feat(analysis): add deflicker engine and flicker spectrum
Robust LOWESS target curve with intentional exposure offsets removed,
blended by Tukey weight and surviving-window fraction; flicker spectrum
from the autocorrelation of detrended luminance recommends a window of
four periods.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:51:43 +00:00
Claude 353143b953 feat(diagnostics): add deterministic synthetic sequence generator
Known-answer fixtures: brightness ramp, seeded global/sky/land flicker,
metadata and pixel exposure steps, horizon split, colour temperature
drift and white-balance jitter, star field, black/white/duplicate
frames, gaps and clock shifts. Covers frame statistics (CCT against
exact blackbody chromaticities) and the light analyzer with it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:51:43 +00:00
Claude 3b3d7b7f6b feat(analysis): add metadata light analyzer with findings
Cadence, jitter, gaps and sessions (small sessions merge), timestamp
sanity (duplicates, out-of-order frames, clock jumps incl. DST), EV
series and exposure steps, camera/lens identity, resolution and
orientation consistency, and NOAA day phases from GPS. Findings carry
stable resource keys plus positional arguments.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:51:43 +00:00
Claude 40870e12dc feat(analysis): add frame statistics, colour temperature and exposure processor
FrameStatistics: trimmed log2-luminance mean (fine weighted histogram),
256-bin log histogram, clip fractions, channel means, CCT, Laplacian
variance sharpness, Immerkaer noise, mask-weighted region statistics,
black/white/duplicate helpers. ColorTemperature: McCamy seed refined to
the nearest Krystek Planckian-locus point with a |Duv| <= 0.02 check.
ExposureProcessor: SIMD EV/white-balance/region gains and hue-preserving
highlight soft clip.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:51:43 +00:00
Claude 04f31e7f43 feat(apng): add APNG encoder with frame differencing and exact delays
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:51:37 +00:00
Claude 71c0113f5f feat(gif): add animated GIF encoder with variance-split palettes, dithering and frame differencing
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:49:30 +00:00
Claude cc0b3c7c5f merge: Windows platform interop (WIC, devices, shell, DPAPI, DWM)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:48:55 +00:00
Claude 016a06d147 feat(codecs): add PNG decoder and ImageBuffer PNG encoding
Every colour type and bit depth (1/2/4/8/16), PLTE + tRNS (palette alpha
and colour keys), Adam7, all five filters, zlib via ZLibStream; CRC
mismatches and truncated data are tolerated with warnings. PngEncoder
gains an additive ImageBuffer overload (8/16-bit sRGB with sRGB chunk)
and the Palette colour type for decoding.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:47:44 +00:00
Claude e9cd17624c feat(windows): add sleep blocker for long jobs
SleepBlocker requests ES_CONTINUOUS | ES_SYSTEM_REQUIRED (optionally the
display) from a dedicated thread, because the execution state belongs to the
calling thread; disposing from any thread clears it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:46:40 +00:00
Claude 598433773e feat(windows): add DWM window chrome and system theme watcher
DwmWindow sets dark mode (attribute 20, 19 on older Windows 10), Mica/none
backdrop, corner preference and caption/border colours, returning false for
null or stale windows and unsupported builds. SystemTheme reads
AppsUseLightTheme and the accent colour (DWM AccentColor, else
DwmGetColorizationColor); SystemThemeWatcher raises Changed from a
RegNotifyChangeKeyValue thread when either value actually changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:46:40 +00:00
Claude 6f765aafbc feat(windows): add DPAPI token protection
Dpapi.Protect/Unprotect wrap CryptProtectData/CryptUnprotectData in the
current-user scope with optional entropy and no UI; decrypted native buffers
are zeroed before LocalFree. String helpers return Base64 for JSON settings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:46:40 +00:00
Claude 113637d707 feat(windows): add removable volume watcher, ejector and format dialog
VolumeInfo reads label, file system, serial, capacity, drive type and DCIM
presence (no "insert disk" prompts) and exposes the card identity
{serial:X8}-{label}-{capacity}. RemovableVolumeWatcher runs a hidden
top-level window on its own message loop for WM_DEVICECHANGE volume unit
masks (message-only windows receive no broadcasts) plus a 3 s DriveInfo poll,
diffing snapshots so each change is raised once. VolumeEjector locks
(with retries), dismounts, allows removal and ejects; FormatDialog shows
SHFormatDrive with quick format preselected and refuses the system drive.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:46:26 +00:00
Claude 3cbf72610e feat(windows): add WIC decoder provider and codec inventory
WicDecoderProvider decodes through a pull chain (decoder, Fant scaler to
MaxLongEdge, format converter) read in bounded row bands. Integer sources are
requested as 64bppRGBA and linearised with the exact sRGB EOTF (Linear16);
float/fixed sources as 128bppRGBAFloat (scRGB, already linear). The Exif
orientation (photo policy, then raw IFD queries) is applied while
de-interleaving instead of through IWICBitmapFlipRotator, which Microsoft
documents as quadratic over scanline decoders.

CodecInventory enumerates installed decoders (CreateComponentEnumerator),
probes HEVC/AV1 decoders with MFTEnumEx and identifies the Raw Image
Extension by package family, since it shares the in-box RAW codec's CLSID.
It maps every ImageFileFormat to its decoder, native flag and the Store
extensions (product ids, ms-windows-store links) that would unlock it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:46:19 +00:00
Claude 2b37f486e2 feat(windows): add shell launcher, taskbar progress and app paths
ShellLauncher opens only http(s) and ms-windows-store URLs and reveals files
(SHOpenFolderAndSelectItems) or folders ("explore") on an STA. TaskbarProgress
wraps ITaskbarList3 and returns false for null or stale windows. KnownFolders
reads LocalAppData/Pictures via SHGetKnownFolderPath. AppPaths resolves the
data root (%LOCALAPPDATA%\Titano or .\data in portable mode) and refuses to
create it inside a OneDrive sync root (environment variables and
HKCU\Software\Microsoft\OneDrive\Accounts\*\UserFolder).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:46:10 +00:00
Claude 0e6c15cb13 feat(windows): add shared COM, window and shell-stream interop helpers
Win32Com joins threads to the MTA on demand, creates in-process COM objects
and releases wrappers deterministically; PropVariant (x64 layout) with
PropVariantClear; Win32Window validates HWNDs; ShellStream opens files through
SHCreateStreamOnFileEx with STGM_SHARE_DENY_NONE so readers never block writers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:46:02 +00:00
Claude 990c515b3b feat(codecs): add baseline and lossless JPEG encoders
Baseline encoder: IJG quality scaling, 4:4:4/4:2:2/4:2:0, optional
optimised Huffman tables, restart intervals, caller APP1 segments,
ImageBuffer input with optional ordered dither; parallel colour
conversion and float FDCT per MCU row, sequential entropy coding.
Lossless (SOF3) encoder with predictors 1-7 and point transform for DNG.

Tests: round-trip PSNR gates, monotonic quality, lossless round trips
for every predictor and precision, seeded fuzzing, restart resync,
DCT scaling and a 24 MP single-core decode benchmark.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:44:20 +00:00
Claude a1d8287faa fix(codecs): harden JPEG restart resync and Huffman table checks
Port libjpeg's resync_to_restart decision rules (skip bogus markers and
stale RSTs, account for lost intervals), reject oversubscribed Huffman
tables before filling the lookahead table (found by fuzzing), and keep
triangle chroma upsampling at 1/8 scale for better thumbnails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:44:20 +00:00
Claude 02afd4673b feat(motion): add temporal median/mean stacking and star-trail accumulation
TemporalStacker keeps a sliding window of pooled frame copies and renders
an exact per-pixel median (vectorised odd-even transposition network up
to 32 frames, Hoare selection beyond) or mean. StarTrailStacker keeps a
progressive maximum with exponential decay; trail length in frames maps
to the decay that fades a trail to 1 %.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 09:44:11 +00:00