Color management
ThumbGen supports OpenColorIO project configurations and embedded ICC profiles in supported images. It does not auto-expose or stretch brightness separately for each image, helping keep sequences consistent.
Use a project configuration
thumbgen convert frame.exr --output preview.jpg --ocio-config config.ocio --input-space ACEScg --display DISPLAY --view VIEWReplace DISPLAY and VIEW with names from your configuration and set them together. Configuration priority is --ocio-config, then the OCIO environment variable, then the built-in configuration. Choose --ocio-config ocio://default to explicitly use the built-in one.
Input space comes from --input-space first, otherwise file metadata. When metadata is absent, ThumbGen assumes linear for EXR/HDR and sRGB for other images and issues a warning. For untagged EXR color previews, including explicit --deep-mode flatten, a custom config that cannot resolve linear uses its validated scene_linear role. The warning names the assumed space. Declare the input space explicitly when you know it.
EXR color previews use an explicit display and view when supplied, then a resolvable sRGB output mapping. When a custom config lacks that mapping and no display or view was requested, ThumbGen uses the config's active default display and the default view for the working space after resize. This also applies when the input space is explicit. The result reports the effective names in colour.display and colour.view. If the selected view needs a missing LUT, conversion fails and the error identifies the LUT.
Embedded ICC
Supported single-image PNG, JPEG, TIFF and WebP inputs automatically use RGB or grayscale ICC profiles. With automatic input space and no explicit config, display or view, these files use ocio://default regardless of OCIO. An explicit config or display/view request follows the project configuration rules above. An explicit input space overrides the embedded profile.
Supported PSD v1 RGB composites automatically use embedded RGB ICC profiles and follow the same configuration precedence. The stored composite counts as one image even when the PSD contains layers. An embedded profile selected automatically produces an error if it exceeds the profile limit, is damaged, or uses an incompatible color model.
A project config used for ICC must resolve the standard nonlinear scene-referred srgb_rec709_scene bridge. Use the canonical color-space name or a declared alias with that interop ID. CMYK ICC continues to use the project's configuration when one is supplied or inherited.
Four-channel CMYK TIFF and supported 8-bit baseline Adobe CMYK/YCCK JPEG inputs with reliable ICC profiles can produce RGB previews. Missing profiles, unsupported ink layouts or damaged ICC data cause errors. Assigning an RGB space to CMYK is not a substitute for proper conversion.
CMYK/Multichannel PSD/PSB, Deep ICC, multipage/multiframe ICC and other special containers have additional restrictions. Use capabilities --json for available features and inspect --json for input information.
Transparency and output
Use --background transparent to retain transparency in PNG/WebP; choose black or white for JPEG. Color previews account for Alpha during resizing and honor EXR display canvases and image orientation.
Data previews bypass OCIO and ICC and use your chosen numeric range.