web-placement / BACKGROUND REMOVAL

Wrap Web Text Around a Cutout Using Its Alpha Shape

Use a float with an alpha threshold and text clearance.

Open the free Background Remover ↗

The real before and after

1000 × 1500 px
Original licensed photograph: a single green split leaf and slender stem on a pale background
Before
Actual Pexure background removal result: a single green split leaf and slender stem on a pale background
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: Green leaf plant on white background · NordWood Themes · Unsplash License. Processing: Pexure Studio, Automatic subject. No endorsement implied.

Use a floating element and CSS shape-outside when body text should follow a transparent raster's silhouette. Set a shape margin so letters stay clear of the edge, then check the reading column at multiple widths. Keep a practical rectangular or normal-flow layout available for placements with too little room.

Choose a suitable decorative contour

Open the transparent PNG over a dark color and inspect where it has real alpha. Large clear margins and thin protrusions can change the perceived wrap. Decide whether the browser should use the full outline or a simpler stable shape, especially when the graphic includes holes or short disconnected regions near the text.

Apply the shape to a float

Set the element's float side and size in the web stylesheet. Use the eligible image URL as the source for shape-outside and adjust shape-image-threshold if low-coverage edges make the wrap too sensitive. Add shape-margin to give text breathing space. The shape affects adjacent inline content's wrapping around the float.

Check image access and fallback

Use a permitted resource path and inspect browser diagnostics if the wrap stays rectangular. Shape image loading has cross-origin constraints, so check the specification and authorized server settings when the asset lives elsewhere. Retain a usable float or ordinary layout if the shape cannot load or the relevant CSS is unavailable.

Proof paragraph widths and readability

Try headings, long words and narrow columns. A wrap that follows the source nicely on a wide page can leave abrupt fragments of a line on a narrow one. Let the illustration move above or below the copy when necessary. Preserve the transparent master and treat the wrap behavior as a site layout decision.

About this demonstration

The comparison reuses the inspected photograph and automatic cutout. The automatic cutout keeps the leaf and stem and clears the surround and visible leaf slits. A conspicuous pale fringe remains around the outline and openings. The result is unretouched and is useful for explaining why a transparent cutout may still need edge cleanup.

The reused photographic comparison shows a narrow stem, interior slits and a pale edge fringe. Use your own site layout to see where fine parts influence an alpha-based wrapping silhouette.

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.