Image formats, transparency, and export size

Choose PNG, WebP, or JPG, test a saved file for alpha transparency, and understand working resolution, crop padding, and fixed-size presets.

Updated · Maintained by Arunvpp

Choose the file for its next use. A cutout for a slide needs transparency; a finished white-background listing needs an opaque canvas; a story needs particular pixel dimensions. Format, Background, Size, and Crop to subject control separate parts of that output.

Choose PNG, WebP, or JPG

Current SansBG export behavior
FormatWith Background NonePractical use
PNGKeeps transparency and partly transparent edges.Sharp logos, signature strokes, and reusable cutouts. Lossless encoding avoids an additional lossy compression step.
WebPKeeps transparency when the browser can encode WebP.A web cutout when the receiving app accepts it. SansBG uses lossy WebP encoding; inspect fine text and edges after saving.
JPGFills the transparent canvas with white.A finished photo that does not require transparency. Compression can affect small text and high-contrast lines.

White, Color, Blur, or Photo is composited into the exported file regardless of the format. A PNG with White selected has an opaque white background. Select None before downloading a layer you intend to place on another background. For general format properties, see MDN’s image format reference.

Check the saved file’s transparency

An alpha channel records pixel opacity. Fully transparent pixels reveal the layer underneath; partly transparent pixels blend with it. Hair and antialiased logo edges can legitimately contain partial opacity. Turning every edge into a hard opaque line can remove useful detail.

  1. Set Background to None and Format to PNG, then download the file.
  2. Open that saved PNG in an app that supports layers. Add a saturated colored layer below it.
  3. Check outside the subject and inside actual openings. The lower color should show through where the backdrop was removed.
  4. Repeat with a light and a dark lower layer. This reveals fringes that a checkerboard or a white viewer canvas can conceal.

If the viewer looked white but the colored layer now shows through, the viewer was displaying a white canvas. If a white rectangle covers the lower color, check that the saved file is PNG or WebP and that Background was None. A screenshot of the preview usually captures its displayed canvas rather than exporting the cutout’s transparency.

A black or white fringe can still exist in a transparent file. Transparency describes opacity, while edge pixels can retain color from the old backdrop. Return to the edge checks if the format is correct and the edge itself is the problem.

Understand working size, crop, and fixed canvases

Large sources are reduced to a device-dependent working long side of 2048, 3072, or 4096 pixels. Original means that working image size. For example, a 6000×4000 source opened with a 3072-pixel limit becomes 3072×2048 before processing; an uncropped Original export uses those working dimensions. This is a calculation from the size limit, not a measured quality result.

Canvas presets in the single-image editor
Size choiceCanvasPlacement
OriginalWorking dimensions, unless croppedKeeps the full working frame when Crop to subject is off.
2000 × 20002000×2000 pixelsCenters the subject with a 6% minimum margin when crop is off.
1080 × 10801080×1080 pixelsCenters the subject with the same 6% minimum margin.
1080 × 19201080×1920 pixelsCenters the subject with an 8% minimum margin.
600 × 600600×600 pixelsCenters the subject with a 10% minimum margin.

Fixed presets already locate the subject from its alpha boundary, even when Crop to subject is off. They fit it proportionally, leaving more space along its shorter dimension. They do not preserve the source’s original left or right positioning. A larger canvas can enlarge a small cutout, but cannot add captured detail.

Crop to subject adds padding around the detected subject boundary before fitting it. With Original it trims the working frame; with a fixed preset it retains the preset dimensions and gives the subject additional breathing room. The crop padding is based on 4% of the subject’s longer boundary dimension, limited by the source image edges. An accidental retained speck can enlarge that boundary, so erase isolated leftovers before judging the margin.

Drop shadow can extend beyond the visible subject. Inspect the full composition for clipping. For a story or thumbnail requiring off-center placement, export a transparent PNG and position it in your design app; SansBG’s presets center the subject and do not choose text areas or platform safe zones.

Check what the browser actually saved

Input decoding and output encoding are different capabilities. A browser may open a format without being able to export it. If WebP encoding is unavailable, SansBG uses the encoder’s actual result and names the download accordingly, which can be PNG. Check the saved extension and the receiving app’s accepted formats.

The download preview is reduced for display. It is useful for composition, but inspect the saved file for full-size edges, actual dimensions, and file size. SansBG does not provide a target-kilobyte control or promise that a preset satisfies a destination’s current upload rules.

Keep your source and a lossless PNG master for later composition changes. Repeatedly opening and saving a JPG or lossy WebP can introduce additional compression loss. Changing the extension alone never changes the encoded format or restores transparency already flattened into a JPG.