Image Color Checker

← All AI-created software

This is AI-generated (aka vibe-coded) software. It is specific to my needs and my system and may not work for you or yours. Support is limited, but if you report a bug I'll certainly look into it. The code is provided in the zip file for you to review should you choose.
⬇️ Download Image Color Checker.zip2.7 MBLast Updated: November 27, 2026Python

Checks the colors in a photo against measured and physically based references for sky, foliage, skin and natural neutrals, and tells you how far off each one is and how to fix it in darktable 5.6. It can also correct the whole photo and save the result, without ever changing the original.

Main window of Image Color Checker in the wide layout: the sky sample and its reference on the left, a mountain photo with four samples in the split view in the middle, and the vectorscope and sample list on the right
On this page

Features

  • Click the sky, foliage, skin, snow, clouds, pale rock or whitewater and see each one’s ΔE 2000 from its reference
  • Sky references from a physical daylight model, set by sun height, haze and where you clicked relative to the sun
  • Hue, saturation and brightness directions for each sample, and a summary that tells an overall cast from color shifts
  • Corrects the whole photo, with original, corrected, split and changes views and an Amount slider
  • Translates the correction into darktable 5.6 slider settings for color calibration and the color equalizer
  • Saves the corrected photo, exports the correction as a .cube LUT, and exports the samples as CSV
  • Vectorscope or CIELAB scope, a color readout, and embedded color profiles honored

Usage

Needs Python 3.8 or newer with Tkinter (included with the python.org installers; sudo apt install python3-tk on Debian and Ubuntu), Pillow and NumPy. rawpy is optional and adds camera RAW files.

pip install pillow numpy
pip install rawpy                     # optional: camera RAW files
python image-color-checker.py
python image-color-checker.py --photo-file-path photo.jpg

Keep image-color-checker.ico beside the script for the app’s icon; pythonw.exe starts it without a console.

Checking a photo

  1. Open a photo with Open photo, Paste, or --photo-file-path.
  2. Click the sky, choose the conditions, and mark on the sky panorama where you clicked relative to the sun.
  3. Click foliage or skin, and anything that should be neutral: sunlit snow, cloud tops, pale rock, a gray card.
  4. Read the summary under All samples. If every sample leans the same way, fix white balance first.
  5. Correct what’s left with the directions shown for each sample.

The app guesses each sample’s material; change it with the Sky, Foliage, Skin and Should be neutral buttons. Sample size averages from one pixel up to 51 × 51. Click a sample’s pin to select it; right-click it to remove it.

References

  • Sky: the Preetham daylight model, from sun height (10° to 90°), haze, and where you clicked, with presets from clear midday to late afternoon. Its clear-midday zenith is within ΔE 3.7 of the measured ColorChecker blue sky. For golden hour, twilight, blue hour, overcast and storm, illustrative gradients (“looks”) stand in.
  • Foliage: the ColorChecker Classic foliage patch, plus sixteen illustrative looks for plants, seasons and light.
  • Skin: the ColorChecker light and dark skin patches, plus typical tones for nine ancestry groups at four tan levels. The picker lists the three closest; pick the one that looks closest to the person.
  • Natural neutrals: neutral surface, sunlit snow (also checked for brightness against L* 94 when Compare color only is off), sunlit cloud, pale rock and whitewater, each with what to keep in mind.

Looks and typical skin tones are plausible values, not measurements: treat foliage and skin within ΔE 5 as normal.

Reading the results

ΔE 2000 Meaning
under 1 Indistinguishable
1 to 2 Visible only side by side
2 to 5 Noticeable, within normal natural variation
5 to 10 Obvious mismatch
over 10 A different color

Directions name the color equalizer nodes to use and the white balance shift, in Lab units (darktable… gives slider values). Compare color only (on by default) ignores brightness. Clipped samples are flagged and left out of the summary. The scope shows every pixel and each sample’s line to its reference; the readout gives hex, RGB, HSV, L*a*b* D50 and LCh.

Correcting the photo

Original, Corrected, Split (drag the divider) and Changes (where and how much pixels move) switch the view; click the same button again, or press \, to flip back to the original.

  • White balance only fits one white balance to all samples, neutrals counting double.
  • White balance + colors then corrects each sample’s color range, fading out with distance: Balanced (the default) leaves small differences as normal variation, Gentle leaves more, Exact puts every sample on its reference.

Measured references are trusted most, the sky model a little less, looks and typical skin tones half as much. Amount applies 0% to 100% of the correction. When two samples of similar color need very different corrections, a warning says so; Separate conflicting samples by position then gives each its own part of the photo.

Save corrected… writes <photo>-corrected as JPEG, PNG, TIFF or WebP, 8-bit sRGB with the original’s EXIF data. Export LUT… writes a 33- or 65-point .cube file (33 points matches the correction within about ΔE 0.1 on typical colors) for darktable’s LUT 3D module: save it inside darktable’s LUT 3D root folder and leave the application color space at sRGB. A LUT can’t separate samples by position.

Settings for darktable

darktable… opens a window that turns the correction into settings for darktable 5.6, updated as you work:

  1. Color calibration, CAT tab: pick the illuminant from a neutral sample’s area, or type the hue and chroma it gives.
  2. Exposure, when Compare color only is off and the correction changes brightness.
  3. Color equalizer: changes for each node on the hue, saturation and brightness tabs. Copy as text copies them.

Choose your tone mapper at the top: AgX (the default), sigmoid or other. Then export a JPEG from darktable and open it: for a photo of the same shape, the app offers to keep the samples, and gives further changes. In a test with darktable-cli 5.6.1 and AgX on a photo with a strong warm cast, foliage, skin and sky were within ΔE 0.9 of the correction after one round and 0.6 after two. The color equalizer works by hue only, so two samples of similar hue needing different changes are met halfway; the window names them.

Files, layout and settings

JPEG, PNG, TIFF, WebP and BMP open directly, camera RAW with rawpy (decoded with the camera’s white balance, not your edit), and clipboard images (on Linux with xclip or wl-clipboard).
Embedded profiles (Adobe RGB, Display P3, ProPhoto, CMYK) are converted to sRGB first; the line above the photo says which applied.
Export CSV… writes one row per sample, for Excel.

A wide window (at least 1800 pixels, and 1.6 times as wide as tall, as when maximized on a 4K monitor) puts the photo in the middle of three columns. The dividers can be dragged, and everything follows the display scaling.

The line at the bottom says what was last done; right-click it, or the line above the photo, to copy the text. When the app runs as administrator, the title and the bottom line say so.
About (or F1) shows the version and links to the app’s page.

Window place, dividers, sample size, scope, correction settings, LUT size and tone mapper are saved in image-color-checker.ini in the working folder (the app’s own folder unless --working-folder-path says otherwise). Delete it to go back to the defaults; an older settings.json is carried over once.

Command line

  • --working-folder-path FOLDER: the folder for settings and temporary files, created if needed. Blank: the app’s folder.
  • --photo-file-path PHOTO: a photo to open on launch.
    Blank: none.
  • --layout auto, standard or wide: the panel layout; auto (the default) picks wide for wide windows.
  • --help: show the options, with the default working folder on this computer.

A mistake prints “Use –help for usage.” and exits with status 2; under pythonw.exe it shows in a message box.

Keyboard shortcuts

Keys Action
Ctrl+O (Cmd+O on macOS) Open a photo
Ctrl+V (Cmd+V on macOS) Paste an image from the clipboard
Ctrl+S (Cmd+S on macOS) Save the corrected photo
\ Switch between the original and the corrected photo
Delete or Backspace Remove the selected sample in the sample list
Arrow keys Move the sampled position on the sky panorama
F1 Show the About window

Troubleshooting

Problem What to do
Nothing happens from a pythonw.exe shortcut Run the same command with python.exe to see the error.
“This app needs Pillow and NumPy” pip install pillow numpy with the Python that runs the app.
“Opening camera RAW files needs rawpy” pip install rawpy, or export an sRGB JPEG or TIFF from darktable.
“Could not save the settings” Start with --working-folder-path set to a folder you can write to.
The numbers differ from darktable’s picker Export in sRGB, and compare with darktable’s Lab readout (D50).
darktable settings don’t land as expected Match the tone mapper in the window to darktable’s, then do a second round.

Limitations

  • References are typical values, not ground truth: use the app to find clear errors, not to force every color.
  • The sky model doesn’t hold with the sun below about 10° or for cloud; use the looks there.
  • Snow and cloud references assume direct sun; shade and sunset light change their color.
  • Samples last only for the session; Export CSV keeps them.
  • Corrected photos are 8-bit sRGB; use the LUT or the darktable settings to keep full depth and gamut.

Version 1.0.0, updated 2026-11-16. infolific.com: https://infolific.com/technology/software-worth-using/ai-created/photo-utilities/image-color-checker/

⬇️ Download Image Color Checker.zip2.7 MBLast Updated: November 27, 2026Python

← All AI-created software