Skip to content

Quiet Ruled Lines

🤖 AI Drafted (Not reviewed)

Fill thin, long green, blue or red ruling from the surrounding paper and keep the ink, without modifying source files.

Tool id ruled_lines_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 — Derived image files.

Options

Option Type Default What it does
colour string auto Which ruling colour; auto takes the colour with most ruling. One of: auto, green, blue, red, none.
compression_quality integer 90 JPEG/WebP compression quality.
inpaint_radius integer 3 —
max_width integer 3 Ruling is thinner than this, in pixels.
min_length number 0.3 Ruling is longer than this fraction of the page’s side.
output_dir string — Optional output directory. Defaults to a temp directory.
output_format string jpg Derived image format. One of: jpg, png, tiff, webp.

The prompt it sends

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