Darkroom · Build log
Build log
Every entry is written after the work, not before it. Nothing is listed as working unless it was run and checked.
The engine, the catalogue and the first working version
The foundation is built and working: the part that reads a photograph, the part that applies adjustments, the part that remembers your edits, and the part that writes a finished picture out.
Adjustments are done in a way that keeps the mathematics honest. Brightness is calculated the way light actually behaves rather than the way a screen displays it, which is why raising the brightness two stops and lowering it two stops gives back the original image exactly. There is a test that proves it.
The catalogue is a single file on your own disk, in a format that other programs can read. If you move a photograph, the program notices, keeps your edits safe, and lets you point it at the new location.
No window yet. The next decision is which kind of window to build, and that decision waits on a measurement rather than a preference: open a 24 megapixel photograph, zoom and pan it, and see whether it feels comfortable. I will not build an interface on a guess.
Checked, not claimed
- 72 automated tests pass, covering the adjustments, the catalogue, saved edits and the finished pictures
- Seven reference images are compared pixel by pixel on every change, so the look cannot drift without somebody noticing
- A full run through, from importing a folder to exporting a finished picture, passes end to end
- The original photograph is checked byte for byte after editing and is unchanged
- 77 outside pieces of code are used, and every licence has been listed and checked