Home / Guides

How to make a transparent PNG for DTF without soft or halo edges

A design can look perfect on screen and still come back from the DTF printer with a crusty white outline, speckled shadows or a muddy glow. The cause is almost always semi-transparent pixels. Here's why DTF handles them badly and how to prep a clean file.

Why DTF hates partial transparency

DTF printers lay down colour ink and then a layer of white ink underneath, followed by adhesive powder. The white underbase is what makes colours pop on dark garments. But a pixel can't be "40% printed". The RIP software has to decide, pixel by pixel, whether to put down white, and how much. Pixels that are 10 to 90% opaque come out as:

Screen printing has the same limit: a screen either passes ink or it doesn't. DTG copes a bit better, but still prints soft shadows unpredictably on dark shirts.

Where soft pixels come from

Step 1: find the soft pixels

In Photoshop, put a solid, bright colour layer (like lime green or red) under your art and zoom to 300 to 400%. Soft edges show up as a tinted fringe. Try both a black and a white background layer. A fringe that's invisible on one is obvious on the other. In GIMP or Photopea, do the same with a new filled layer below.

Step 2: harden the alpha channel

The goal is for every pixel to be either fully opaque or fully transparent (or very close to it).

Photoshop: merge the art onto one layer, Ctrl/Cmd-click the layer thumbnail to load its transparency as a selection, and add a layer mask from that selection. Then fill the layer's transparent areas with the edge colour (or duplicate the art underneath it) so the colour is solid. Select the mask and apply Image → Adjustments → Threshold at about level 128. Every pixel above half opacity becomes solid, and everything below disappears.

GIMP: Layer → Transparency → Threshold Alpha (default 0.5) does exactly this in one step.

Photopea: uses the same mask-plus-Threshold method as Photoshop.

At 300 DPI, a hard 1-pixel stair-step is 1/300 of an inch, so you won't see jaggies on the shirt. That's one more reason to work at full resolution: thresholding a low-resolution file does create visibly jagged edges.

Step 3: replace effects with solid versions

Step 4: kill the white halo specifically

If the art came from a white background, the edge pixels are blended with white. Even after thresholding, the outermost solid pixels can be pale. Contract the selection by 1 px (Select → Modify → Contract) and delete the outer ring, or use Layer → Matting → Remove White Matte before thresholding.

Step 5: export correctly

Save as PNG with transparency, sRGB, at the actual transfer size at 300 DPI. For an 11 × 11 in adult front, that's 3300 × 3300 px. For a 4 in left chest, it's 1200 × 1200 px. Don't add a background colour "to preview", and don't export as JPG at any point.

Quick DTF file checklist

  1. Transparent background, no box
  2. No drop shadows, glows or feathering, or they're converted to halftones
  3. Alpha thresholded, edges hard at 400% zoom
  4. No pale fringe when viewed on black
  5. Exact size, 300 DPI, sRGB PNG

PressReady's free check reports the share of semi-transparent pixels in your art and warns when it's high enough to cause DTF trouble. The paid exports for DTF presets harden the edges automatically.

Check your file before you upload it

Drop your design into the free PressReady check. It measures the real DPI at print size, flags white-box backgrounds and soft DTF edges, and shows a tee mockup. No signup.

Run the free check →

More guides