Skip to content
TyrannikPublic

About

Film emulation for Leica M9 DNGs - Kodachrome 64, built from Kodak's published film data. Windows app in Rust (alpha).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Remjet icon

Remjet

Film emulation for Leica M9 DNGs, starting with Kodachrome 64, as it looks on a scanned slide.
Alpha · Windows · free and open source (GPL-3.0)

Remjet screenshot

Remjet develops your M9 raw files through a model of Kodachrome 64 built from Kodak's own published measurements: the film's density curves and the way its dyes absorb light. It then "scans" the virtual slide. The result keeps Kodachrome's character: deep, saturated blues, warm punchy reds and yellows, dense brown-black shadows and fine grain.

Alpha software. It works well on the files it was developed with, but expect rough edges. Your DNGs are never modified. Please report issues.

Remjet was called Kodachromer up to 0.1.0-alpha.2. The name comes from the carbon-black backing layer on Kodachrome and cine film. Upgrading keeps your edits and settings.

Before and after

Neutral camera render (left) vs. Kodachrome 64 (right), straight out of Remjet with default settings:

Pagoda at night Roadside shrine Lighthouse

Optional halation, the red glow around bright lights that film without an anti-halation layer shows (off by default, since real Kodachrome had one):

Halation off vs on

Features

  • Kodachrome 64, built from Kodak data. Characteristic curves and dye cross-absorption are digitised from Kodak publication E-55. A virtual scanner then gives the scanned-slide look.
  • Per-image controls: exposure, warmth, tint, highlights, halation, sharpen, grain, grain size. Double-click any slider to reset it.
  • Tune the film itself: brightness, contrast, saturation, shadow lift, black depth, scanner colour and grain, previewed live. Save it, restore Kodak defaults, or save variants as new films.
  • Fast, smooth viewing: live preview while dragging sliders; click for 100%, Ctrl+scroll up to 800%, and drag to pan without lag.
  • Non-destructive, clean folders: edits are kept in Remjet's own data folder (nothing is written next to your photos) and follow a file even if you move or rename its folder. Full undo/redo (Ctrl+Z / Ctrl+Y).
  • Scanned or projected: view the slide as a film scanner reads it (open shadows) or as it looks projected on a screen (full density range, deep blacks, warm lamp, soft corner falloff).
  • Batch work: select several images, copy and paste settings, and export one, selected, edited or all images to JPG, with progress and cancel.
  • Good exports: full-resolution or resized JPGs with 4:4:4 colour and camera metadata (date, shutter speed, ISO, focal length).
  • Compare: hold B for before/after, or open a real Kodachrome scan beside your photo with Reference….

Download

Get the latest Remjet-<version>-windows-x64.zip from the Releases page, unzip it anywhere, and run remjet.exe. There is no installer. Release builds are made by GitHub Actions directly from the tagged source code.

Requirements: 64-bit Windows 10 or 11, a GPU with DirectX 12 or Vulkan support (any recent integrated GPU works), and about 2 GB of free RAM for full-resolution zoom and export.

Windows SmartScreen may warn that the app is from an unknown publisher, because builds are not code-signed yet (free signing through SignPath Foundation is being applied for; see Code signing policy). Choose More info → Run anyway, or build it yourself from source (below).

Using it

  1. Open folder… and choose a folder of M9 DNGs. Thumbnails appear in the library.
  2. Pick an image. It renders as Kodachrome 64; adjust it with the sliders on the right.
  3. Export JPG: this image, the ones you've selected, every edited image, or the whole folder. By default JPGs go to an exports folder next to your DNGs.
Action How
Next / previous image → / ←
Before / after hold B (or Hold for before)
100% at a point / back to fit click the image; Z toggles; Esc fits
Zoom in and out (up to 800%) Ctrl + mouse wheel
Pan drag the zoomed image
Select several images Ctrl-click, Shift-click, Ctrl+A
Copy / paste settings Ctrl+C / Ctrl+V (pastes to all selected; a message confirms each)
Undo / redo Ctrl+Z / Ctrl+Y (or Ctrl+Shift+Z)
Reset a slider double-click it

Where things are saved

  • Edits: %APPDATA%\Remjet\edits, one small file per image, matched to the DNG by its contents, so they survive moving or renaming folders. (Exact copies of the same DNG share an edit.) Reset all returns an image to unedited. Edit files left beside DNGs by 0.1.0-alpha.1 are moved into the store automatically when you open the folder.
  • App settings and tuned films: %APPDATA%\Remjet. To keep everything elsewhere (for example on a USB stick), set the environment variable REMJET_DATA_DIR to a folder.
  • Exports: <your folder>\exports unless you choose another folder.

How the Kodachrome 64 emulation works

  1. The DNG is decoded and turned into accurate, scene-referred colour using the camera's own colour profile.
  2. That light exposes a virtual Kodachrome 64 with three dye layers, each with its own sensitivity.
  3. Each layer develops along Kodak's measured density curve. The dyes' unwanted absorptions, digitised from Kodak's spectral data, are added back. Most of Kodachrome's colour character comes from this step.
  4. Grain is added in film density, clumped like dye clouds and stronger in denser areas. Optional halation is added before development.
  5. A virtual scanner reads the slide: white at the clear film base, a scanner black point, grey balance and a touch of warmth, as a well-made 4000 dpi Kodachrome scan looks.

There are more details in docs/DEVELOPMENT.md.

Known limitations (alpha)

  • Leica M9 only. Other DNGs may open but haven't been tested, and the film was tuned for the M9's sensor.
  • Windows only for now. The processing core is UI-free, so macOS and iOS builds are possible later.
  • Clipped highlights stay clipped: if the camera blew a channel, there is no detail to recover. The Highlights slider shapes what is there.
  • The first 100% view of an image takes a second or two while the full-resolution frame renders.
  • Not in exports yet: aperture and lens name, which the M9 doesn't store in standard EXIF. Exports also carry no embedded ICC profile (they are sRGB).
  • Unsigned binaries, hence the SmartScreen warning.

Command line

remjet-cli.exe ships with the app:

# Export a folder using each DNG's saved edits (resized to 2048 px, edited images only)
remjet-cli export "D:\Photos\Japan" --max-edge 2048 --edited-only
# Show what the decoder sees in each file
remjet-cli info "D:\Photos\Japan"

Building from source

Install Rust (stable, MSVC toolchain) and the Visual Studio C++ Build Tools, then:

git clone https://github.com/Tyrannik/remjet
cd remjet
cargo run --release -p remjet
cargo test --release

Code signing policy

Windows release binaries (remjet.exe, remjet-cli.exe) are built by GitHub Actions on GitHub-hosted runners, directly from the tagged source code in this repository. Remjet is applying for free code signing from the SignPath Foundation. Until that is in place, releases are unsigned.

Team and roles

Every signed release is approved manually by an approver. All team members use multi-factor authentication for GitHub and SignPath.

Privacy policy

This program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it. Remjet makes no network connections: no telemetry, no update checks, no accounts. The only exception is the project link in the About box, which opens in your web browser if you click it.

License and credits

Remjet is free software under the GNU General Public License v3.0 or later; see LICENSE. Raw decoding uses rawler (LGPL-2.1). The user interface uses egui. Other dependencies and their licenses are listed in THIRD_PARTY.md.

Kodachrome and Kodak are trademarks of Eastman Kodak Company, and Leica is a trademark of Leica Camera AG. Remjet is an independent project, not affiliated with or endorsed by either. The film curves are digitised from Kodak's publicly available technical data, solely to emulate the film's look.

Sample photographs in this README were taken by the author with a Leica M9.

About

Film emulation for Leica M9 DNGs - Kodachrome 64, built from Kodak's published film data. Windows app in Rust (alpha).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages