Skip to content

Contrast Images

🤖 AI Drafted (Not reviewed)

Even out the light on a page with local contrast (CLAHE on the lightness channel), without modifying source files.

Tool id contrast_images
Category transform
Uses a language model no
Needs a generative model no
Runs over many items yes
Item handling batch
Structured output no
Human-verified not yet

What it reads

Port Type Required What it is
Files (files) files yes Image files to adjust.
Documents (documents) json no Document metadata for preview-editor edit-chain updates.

What it emits

Port Type Required What it is
Adjusted Files (output_files) files — Contrast-adjusted derived image files.

Options

Option Type Default What it does
clip number — —
compression_quality integer 90 JPEG/WebP compression quality.
factor number 1.0 —
gain number — —
lift number — —
output_dir string — Optional output directory. Defaults to a temp directory.
output_format string jpg Derived image format. One of: jpg, png, tiff, webp.
profile string — One of: handwritten, typescript.
tile integer — —

The prompt it sends

This tool does not send a prompt — it does its work in code.