A cluster-based rewrite of the model-free estimator was measured against u2netp
on seven real 60D frames and came out worse than the border-histogram version
(0.214 vs 0.305 mean IoU against the model, best blend weight 0.298), so it was
not shipped. The two cases that mattered are now regression tests: a saturated
object running off the frame must stay out of the subject, and a dark scene with
no clear subject must not be swallowed.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Chrome ignores UNPACK_FLIP_Y_WEBGL for ImageBitmap uploads, so the JPEG proxy
lands in the texture top-down while the parser pre-flipped the sidecar rows.
The picture jumped upside down a few seconds after load, when the sidecar
replaced the proxy. The parser now keeps the PNG's row order.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
A library imported by an older pipeline keeps whatever proxy it was given, and
the editor can only show those bytes. The Storage tab now re-decodes every
camera raw from its original, writing a fresh JPEG proxy, thumbnail, 16-bit
sidecar and denoise prune, then stamps previewVersion so browsers refetch.
The decode loop runs one photo at a time on the server behind a status route:
an hour of LibRaw work would time out as a request, and parallel decodes would
starve the editor. The single-photo reprocess route shares the same helper.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
The editor decodes the copy of the proxy kept in IndexedDB before asking the
server, so one stale or truncated copy fails with Chrome's "The source image
could not be decoded." on every later visit. A failed decode now drops that
copy, refetches the current bytes and retries, and the orientation option falls
back to a plain decode if the decoder refuses it.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
A DCP matrix describes the sensor, so a profile chosen for one frame belongs to
all camera-native raws from that body; the panel offers the bulk apply when the
library holds more photos than the one on screen.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
EXIF folds the brand into the focal range ("EF75-300mm"), so split letters
from digits before scoring, keep the score a pure name score that a caller can
trust, and rank a same-mount-family lens higher without filtering. Auto-match
now declines below 0.75 rather than applying the best of a bad list.
Lenses the bundled database lacks can be measured in-house: /api/lens-profiles
stores calibrations in SQLite, the Optics panel edits them and marks them
"Team", and search treats them as ordinary entries.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
The wrapper's wasm, its 5 MB data blob and the runtime chunk were fragile to
serve (CSP, MIME, cache) and pulled an LGPL runtime into the bundle just for
calibration data. The Lensfun XML is now converted at build time into
public/lens-db/profiles.json, and search, matching and the correction maths live
in src/lib/lensDb.ts and src/lib/lensEngine.ts. Maps are pinned against output
captured from the previous implementation, so results are unchanged.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
A profile chosen for a raw only changed Develop and exports, so the grid,
Compare and preset previews could disagree with the file. They now grade
camera-native samples, while the proof profile persists with a rendering
intent and DCP matrices can be reused per camera body.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Camera profiles, proofing tables and the half-float sidecar all have to agree
with the pixels the editor actually grades, so they land together with the
preset filter menu that was unusable while thumbnails streamed in.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
The grid and filmstrip only ever showed the import thumbnail, so edits and
virtual copies looked untouched. Edited tiles now render client-side with the
same shader as the canvas, once each, from the small cached thumbnail. The
filmstrip also gains Cmd/Shift multi-select so Paste, Copy and Reset can act on
several photos from the toolbar or the right-click menu.
Immich connections stay server-side with an encrypted API key, albums can be
imported, and photos are only sent back when an event's push button is pressed:
originals upload once, edited photos re-render, and edits hashes plus checksums
skip anything already in Immich. This also lands the accompanying editor, cloud
and administration work that was still uncommitted.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
Browser-based photo catalog with an optional team server (SQLite + LibRaw).
Local database, uploaded photos, build output and dependencies are gitignored.
🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>