The Ricoh GR IIIx colour pipeline, reverse-engineered from 302 in-camera developments of a single RAW file, and the engine behind GR Recipe Lab. It renders GR recipes (Image Control, sliders, white balance) on any photo in the browser with WebGL, reads the recipe an original GR JPEG or DNG was shot with, and makes recipe links, cards and social images.
How it was built, layer by layer, with accuracy numbers: callmeseva.cc/recipelab/how-it-works
Free for non-commercial use, with credit. Not affiliated with Ricoh.
This is research, not a product. It took 302 in-camera developments to measure the GR's colour, and it's published so nobody has to repeat that work. The goal is better free tools for the GR community. If you use the engine, please keep your app free for the people who use it too. Everybody wins.
| Package | What it is |
|---|---|
@fspseva/gr-color-engine |
Renderer, recipe decoder, recipe links, recipe text, cards. Framework-free. |
@fspseva/gr-color-react |
<RecipePreview> and <RecipeSliders> for React. |
@fspseva/gr-color-mcp |
MCP server so AI coding assistants can build the engine into a project. |
npm i @fspseva/gr-color-engineimport { RecipeRenderer, createDefaultParams, decodeRecipeFromFile, loadCameraImage } from '@fspseva/gr-color-engine';
const renderer = new RecipeRenderer(document.querySelector('canvas')!);
await renderer.setImage(await loadCameraImage(file));
// An original GR photo already has a look baked in: decode it so the engine undoes it first.
const shot = await decodeRecipeFromFile(file);
const baseline = shot.status === 'decoded' ? shot.result.params : undefined;
renderer.render({ ...createDefaultParams('positive-film'), saturation: 2, wbShiftAB: 4 }, { baseline });React:
import { RecipePreview, RecipeSliders } from '@fspseva/gr-color-react';
<RecipePreview image={photoUrl} params={params} />
<RecipeSliders params={params} onChange={setParams} />claude mcp add gr-color -- npx -y @fspseva/gr-color-mcpTools: describe_stack, list_image_controls, decode_recipe (reads a
local GR file), format_recipe, parse_recipe_text, encode_link,
decode_link, integration_guide. It runs on your machine; files are
never sent anywhere.
- White balance: WB modes and A/B, G/M shifts, as measured operators (3×3 matrix + per-channel curves).
- Image Control: one measured operator per colour look.
- Saturation & Hue: a measured saturation operator for every step; hue is a parametric rotation with per-look correction.
- Tone: High/Low Key, Contrast and its highlight/shadow halves, as measured curves.
- Finish: clarity, sharpness, shading, grain, mono filter and toning (parametric, spatial).
Tested in the real renderer against 42 in-camera developments; results in
calibration/engine-check.
calibration/ holds the fitted operators (ops/ops.json),
validation results and the fitting scripts. The scripts need the
calibration photos, which are not part of this release. If you need
them for research, ask in the
GR Recipe Lab Telegram group.
- Code: PolyForm Noncommercial 1.0.0. Free for any non-commercial purpose; keep the copyright notice.
- Calibration data and documentation: CC BY-NC 4.0.
Please credit "GR Color Engine by callmeSeva" with a link to https://callmeseva.cc/recipelab. For commercial use, get in touch through the Telegram group.
Copyright (c) 2026 Fabio Seva (callmeSeva). Ricoh and GR are trademarks of Ricoh Imaging Company; this project is independent and unofficial.