raster-diagrams / BACKGROUND REMOVAL

Keep Legend Swatches Opaque After Removing Background From a Diagram

Audit pale data-bearing fills using the legend source and neutral proof tones.

Open the free Background Remover ↗

The real before and after

298 × 625 px
Original licensed photograph: two silver utensils standing side by side, a fork and a knife
Before
Actual Pexure background removal result: two silver utensils standing side by side, a fork and a knife
After · transparent PNG

Compare the original and actual cutout. The grid indicates transparency. Display previews may be resized; view the full-resolution recorded PNG.

Sample: Fork · The Metropolitan Museum of Art · CC0. Processing: Pexure Studio, Automatic subject. No endorsement implied.

Check the legend's swatches against the original before clearing paper from a raster diagram. A pale swatch can encode a valid category and still resemble the substrate. Keep the swatches opaque where designed, then place the cutout on two proof colors and confirm each swatch still matches its label and plotted marks.

List swatches alongside their uses

Compare all legend samples with corresponding marks or fills in the source. Record the lightest one and the smallest sample shape. If the diagram intentionally shows an empty outline to represent a category, keep that convention distinct from an opaque light color. Use the original design file or documentation where the scan alone is ambiguous.

Check the mask where the legend is isolated

A color pass that clears the open paper may also clear a similarly colored swatch. Compare unconnected swatch interiors in the original and cutout. Limit removal to the known surround or protect the fill in a separate editor. Use Restore only when the correct underlying source sample is already visible.

Use a known proof background

Inspect on a neutral dark tone as well as on the intended surface. A missing pale patch takes on the underlying color, while a recorded opaque patch should retain its fill appearance subject to display settings. Compare associated plotted areas too, since the same lost color can affect multiple locations without shifting their outlines.

Verify legend order after any crop

Check every swatch in order against its corresponding label. If the label text was rebuilt on another layer, compare references near the top and bottom before exporting. Where a near-white original mark is hard to decode at final size, use an approved combined cue, such as a printed label or distinct pattern.

About this demonstration

The comparison reuses the inspected photograph and automatic cutout. The real automatic result retained both utensils, including their decorated handles. The wide space between the pieces became transparent. Narrow spaces around the fork’s tines remain an area to inspect closely, and parts of the outside silhouette show a pale fringe. No manual corrections are claimed in this example.

The reused photographic comparison shows separate solid shapes with a transparent gap between them. Use your own diagram to check pale filled regions over a new background.

The displayed result was produced from the linked licensed source using Pexure’s existing free engine. This is an illustrative example, not a promise that every image will produce the same result.