Vizard Agent

How to cut out an illustration whose lines are the same colour as the background

Last updated 2026-10-10 · 2 min read

Tell Vizard Agent that the drawing's own lines share the background colour, and ask it to select the background by what connects to the edge of the frame rather than by colour. A flood fill inward from the border removes the empty field and cannot reach the dark strokes inside the artwork, which is exactly the separation a threshold cannot make.

What do you type into Vizard Agent?

Tell Vizard Agent why a threshold is going to fail. Without that sentence the obvious approach is a colour key, and a colour key is the one method that cannot work on this image. Name the method you want, and ask for a preview on a light checkerboard, where leftover background actually shows.

Prompt

This dragon illustration is on a black background, but the artwork itself has very dark blue-purple strokes in it, so a colour key eats them. Select the background by what touches the edge of the frame instead, keep every dark detail inside the drawing, and show me the result on a light checkerboard so I can see any leftover black.

What does Vizard Agent actually do?

It stops asking which pixels are black and asks which black pixels are reachable from outside the drawing. The ones inside a closed outline never are. The session was a real illustration that had to be delivered as a transparent overlay, and a threshold was tried first and found to be a compromise either way. In the session behind this article it:

When does this not work well?

Connectivity fails where the artwork is open. If the outline has gaps, the background flows through them and takes the interior with it, so the gaps have to be closed or the region handled separately. Soft or feathered edges leave no clean boundary to stop at, a gradient background defeats both methods, and artwork touching the frame edge is connected to the outside.

Common questions

Why does a colour key fail here? Because the drawing and the background are the same colour. Vizard Agent selects by position instead.

What if the outline has gaps? The fill leaks. Vizard Agent finds the gap and closes it first.

Why a checkerboard preview? Leftovers are invisible against the colour you removed, so Vizard Agent shows the cutout on a light field.