responsive-cutouts / BACKGROUND REMOVAL
Choose Width or Density Descriptors for a Transparent Image
Match descriptor syntax to variable or fixed CSS slots and actual file sizes.
Open the free Background Remover ↗The real before and after
1280 × 969 px

Compare the original and actual cutout. The grid indicates transparency. Display previews may be resized; view the full-resolution recorded PNG.
Sample: Cup with a frieze of gazelles MET.jpg · See original source record · CC0. Processing: Pexure Studio, Automatic subject. No endorsement implied.
Use density descriptors for interchangeable rasters intended for the same fixed CSS size. Use width descriptors and a sizes hint when the image slot changes with the layout. Check that each descriptor matches the actual candidate and that all variants have the same visible framing on the intended background.
Start with the display contract
Measure the image at several breakpoints. A raster mark displayed at 120 CSS pixels in each layout can have a 120-pixel candidate for 1x and a 240-pixel version for 2x if both use the same crop. A cutout spanning a changing fraction of a responsive column has a moving width and can benefit from the width approach.
Declare one descriptor scheme consistently
For density candidates, list a common set of same-framed files with x descriptors. For width candidates, use each file's true pixel width followed by w and describe the intended CSS source size with sizes. Avoid mixing width and density descriptors in one source set. Keep the fallback src appropriate to the same content.
Produce matching transparent derivatives
Start from a verified Pexure PNG and resize in an external editor or image pipeline. Make enough candidates to suit the real sizes and check important thin features. Avoid treating a stretched file as a higher-density source when its original edge samples contain no more detail. Preserve the same crop and alpha behavior.
Compare actual selections across two conditions
Use browser inspection to read the current source and measure rendered width. Evaluate one fixed-size display at different densities or a responsive display at different widths. The browser can choose based on its own conditions; exact selection can vary. Fix candidate metadata or slot measurements when the observed behavior reveals an inaccurate declaration.
About this demonstration
This guide reuses the photographed cup and its automatic cutout. The result retains the engraved decoration and sculpted handles. The gray surround and main ground shadow cleared, with a narrow pale or bluish fringe remaining along parts of the outline.
The reused photographic comparison shows projecting handle details and engraved areas. Use your own image candidates to keep the same visual subject while comparing density variants.
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.