Worked example, then the checks

How to remove the background from a product photo for an online shop

Updated Tested November 27, 2026Three CC0 product photosRuns in your browser

Scissors cut from a cluttered table photo into a clean checkerboard transparency with a white square output beside them.

Short answer

Cut the product out with the free Koldflux product background remover, keep the transparent PNG as your master, and make the pure-white square file from it with the script below, which checks that every border pixel is exactly 255 white. Its 1000 × 1000 default is our own choice; the Shopify page we read recommends 2048 × 2048 for squares (`--size 2048`). On our scissors photo, a hand-drawn box on the upper blade went from 0.0% to 71.3% of pixels at alpha 128 or more after one extra step. Check thin parts on black first.

Remove the background from a product photo (free, runs in your browser)

Key takeaways

  • On our server the cutout took seconds and kept the picture's size; your device will differ. The tool printed 3.3 s for a 1920 × 1440 box photo, 3.2 s for a 1920 × 2880 bottle and 3.7 s for the scissors, and each PNG came back at the size of its photo (tool-run-raw.txt).
  • Keep the transparent PNG and make every white file from it. Our script's 1000 × 1000 output had 4000 of 4000 border pixels at exactly 255,255,255 on the box and the bottle; the untouched box photo had 0 of 6720.
  • The tool's own JPG on white had pure-white corners on all three, but not a pure-white border on the bottle: 9585 of 9600 border pixels were 255, and the darkest was 253. Check the border instead of trusting the eye.
  • Our pick for the shadow: a blurred floor ellipse for things that stand, a soft offset copy for things that lie flat, none when the shop wants a plain white image. The settings are our taste (draft settings, not a platform figure), judged by looking at four images.
  • Thin and clear parts are where you look twice. A box we drew over the scissors' upper blade had 0.0% of its pixels at alpha 128 or more at first and 71.3% after a lifted copy went through the tool (the whole picture also changed, see below); the bottle's glass is the case the tool page itself calls the hardest.

Step 1: cut the product out

The worked example is a cardboard box shot on a table, with a glass bottle and a pair of scissors as the harder cases later. Five steps, and the file you keep is the PNG.

  • Open the Koldflux product background remover (button above) and choose your photo. The page says the model runs in your browser and nothing is uploaded.
  • Wait a few seconds; the first run downloads the model, about 19 MB according to the tool page. You should see the product on a grey checkerboard, which is how a browser shows transparency, and a line with the size and the model time.
  • Download the PNG (transparent) and keep it untouched as your master file. The JPG (on white) button saves a white copy at your photo's size, which is handy, but you cannot rebuild a transparent version from it.
  • Check the edge on black and on white (step 2).
  • Make the white square file from the PNG (step 3), then the shadow if you want one (step 4).

Run in headless Chromium on November 27, 2026: three photos, each downloaded as PNG and as JPG (tool-run-raw.txt). The tool took 3.3, 3.2 and 3.7 s on our server (the tool page itself gives 1.6 to 1.9 s for a 1024 × 768 picture, also on a server; your device will differ and a phone is slower); the PNGs were 1920 × 1440 for the box and the scissors and 1920 × 2880 for the bottle, the same as the photos. The tool page's own wording: "The model works on a 320 × 320 version of your picture, so the time does not depend on how large your photo is" (Koldflux tool page, read November 27, 2026). We did not inspect network traffic.

The Koldflux product background remover showing a yellow cardboard box cut out on a checkerboard with a soft grey shadow smear at its lower left, a 1920 by 1440 px note and the Download PNG (transparent) and Download JPG (on white) buttons
The live tool on the box photo, 3.3 s. The cookie panel is the site's own. Screenshot, November 27, 2026.

Step 2: read the edge before you trust it

Put the cutout on black and on white, open both at 100% zoom, and look at three places: the corners of the product, any thin edge, and the area under it. Pale fringes show on black, dark fringes show on white.

On the box, the script printed corner alpha 0 0 0 0, so the corners are fully see-through, and the picture was 54.7% transparent, 31.5% solid and 13.7% soft. Soft means partly transparent (alpha 1 to 254). Part of that 13.7% is not the outline: the table's shadow stayed in the cutout as a faint grey smear under the left side (screenshot above; seen by eye, not measured). On white it reads as a shadow already. If you want your own shadow instead, erase it in your editor.

Controls with a known answer, run on November 27, 2026 (python 3.12.3, Pillow 10.1.0, numpy 1.26.4): a 300 × 300 clear picture with one solid 100 × 100 square printed corners 0, solid 11.1%, soft 0.0%; a 100 × 100 picture at alpha 128 printed soft 100.0%; a JPG was refused with exit 2. The soft share cannot tell outline from leftover background or shadow, so it is a prompt to look, not a quality score.

python3 listing_tools.py check cutout.png
# open check-on-black.png and check-on-white.png at 100% zoom
Use your own PNG instead of cutout.png. check writes check-on-black.png and check-on-white.png next to it and refuses a JPG, which has no transparency.
A yellow cardboard box with a Russian label: the photo on a pale table, the cutout on white with a faint shadow smear at lower left, and the cutout on black with a clean edge
1 Photo. 2 Cutout on white. 3 Cutout on black. The edge is clean on black; the faint streak at lower left is the table's shadow.

Step 3: the white file, border checked

The listing command centres the product on a square pure-white canvas and keeps 8% of the side empty around it (a draft setting, not a platform figure). The default is 1000 × 1000, which is our own choice and not a platform figure; Shopify's page, the only one we read, says 2048 × 2048 usually displays best for squares, and --size 2048 makes that. It prints the four corner pixels and counts border pixels that are exactly 255,255,255.

Our results at 1000 × 1000: 840 × 681 px of box on the canvas, border 4000 of 4000 at 255; the bottle the same, 4000 of 4000; at 2048 × 2048 the bottle had 8192 of 8192. The control is the phone photo itself: its border had 0 of 6720 pixels at 255 and the lowest value was 156, so the check does tell white from not-white. The JPG of the box at 1000 px was 143,421 bytes against 566,533 for the PNG; the bottle 112,526 against 406,940.

The tool's own JPG on white is a fair shortcut: all three had white corners, the box and the scissors had 100% of the border at 255, and the bottle had 99.8% (9585 of 9600, lowest value 253, which JPEG compression can cause). It keeps your photo's shape and size, so it does not make a square or add a margin.

Shopify's help page (read November 27, 2026) says the best file type for most product images is PNG, followed by JPEG, that product images can be up to 5000 × 5000 px or 25 megapixels and must be under 20 MB, and that for square images 2048 × 2048 px usually displays best. We read no other shop's or marketplace's image rules, so check the page of the one you sell on before you pick a size or a background.

python3 listing_tools.py listing cutout.png out.png
python3 listing_tools.py listing cutout.png out.jpg --size 2048
python3 listing_tools.py corners image.jpg
The output is .png or .jpg (quality 95). The last line re-checks any image; listing already runs it on its own output.
#!/usr/bin/env python3
"""Check a product cutout and make a white listing image. Needs Python 3 with Pillow and NumPy.

  python3 listing_tools.py check   cutout.png [--box X,Y,W,H] [--prefix NAME]
  python3 listing_tools.py lift    photo.jpg lifted.jpg [--gamma 0.45]
  python3 listing_tools.py reapply original.jpg cutout_of_lifted.png result.png
  python3 listing_tools.py listing cutout.png out.png [--size 1000] [--margin 8] [--shadow none|floor|drop]
  python3 listing_tools.py corners image.jpg

check    prints corner alpha and the transparent, solid and soft shares, and saves NAME-on-black.png and NAME-on-white.png.
lift     brightens a copy (draft setting 0.45, not a rule) so a cutout tool can see a pale or shiny edge.
reapply  puts the mask of the cutout made from the lifted copy onto the original pixels (output must be .png).
listing  centres the product on a square pure white canvas (--size pixels per side, --margin percent of the side kept
         empty on each side, draft setting 8). --shadow floor or drop adds a soft grey shadow (draft settings, our taste).
         Output .png or .jpg (JPG quality 95).
corners  prints the four corner pixels and how many pixels along the border are exactly 255,255,255.
All commands turn a phone photo upright using its rotation tag. The output name must differ from the input name:
a command stops with exit 2 instead of overwriting.
"""
import argparse
import os
import sys

try:
    import numpy as np
    from PIL import Image, ImageDraw, ImageFilter, ImageOps, UnidentifiedImageError
except ImportError:
    sys.exit("Needs Pillow and NumPy: python3 -m pip install pillow numpy")

Image.MAX_IMAGE_PIXELS = 100_000_000


def fail(msg):
    print("error: " + msg, file=sys.stderr)
    sys.exit(2)


def check_out(path, inputs, exts):
    for i in inputs:
        if os.path.exists(path) and os.path.samefile(path, i):
            fail("the output is the same file as the input (" + path + "): use a new name")
    if os.path.splitext(path)[1].lower() not in exts:
        fail("the output name must end in " + " or ".join(exts) + ": " + path)
    folder = os.path.dirname(path) or "."
    if not os.path.isdir(folder):
        fail("folder does not exist: " + folder)


def load(path, want_alpha=False):
    if not os.path.isfile(path):
        fail("file not found: " + path)
    if os.path.getsize(path) == 0:
        fail("file is empty: " + path)
    try:
        im = Image.open(path)
        im.load()
        im = ImageOps.exif_transpose(im)
    except (UnidentifiedImageError, OSError, Image.DecompressionBombError):
        fail("not an image Pillow can read: " + path)
    if want_alpha and im.mode == "P" and "transparency" in im.info:
        im = im.convert("RGBA")
    if want_alpha and "A" not in im.getbands():
        fail("no transparency in " + path + " (a JPG has none: use the PNG the tool gives you)")
    return im


def cmd_check(a):
    im = load(a.cutout, True).convert("RGBA")
    check_out(a.prefix + "-on-black.png", [a.cutout], (".png",))
    al = np.array(im)[..., 3]
    h, w = al.shape
    total = h * w
    soft = (al > 0) & (al < 255)
    print("size: %d x %d" % (w, h))
    print("corner alpha (top-left, top-right, bottom-left, bottom-right): %d %d %d %d"
          % (al[0, 0], al[0, -1], al[-1, 0], al[-1, -1]))
    print("transparent (alpha 0): %.1f%%" % (100.0 * (al == 0).sum() / total))
    print("solid (alpha 255): %.1f%%" % (100.0 * (al == 255).sum() / total))
    print("soft (alpha 1-254): %.1f%% = %d pixels" % (100.0 * soft.sum() / total, soft.sum()))
    if a.box:
        try:
            x, y, bw, bh = [int(v) for v in a.box.split(",")]
        except ValueError:
            fail("--box needs four whole numbers: X,Y,W,H")
        if x < 0 or y < 0 or bw < 1 or bh < 1 or x + bw > w or y + bh > h:
            fail("--box leaves the picture (%d x %d px)" % (w, h))
        sub = al[y:y + bh, x:x + bw]
        print("box %s: %.1f%% of its pixels have alpha 128 or more, %.1f%% have any opacity"
              % (a.box, 100.0 * (sub >= 128).sum() / sub.size, 100.0 * (sub > 0).sum() / sub.size))
    for name, bg in (("black", (0, 0, 0, 255)), ("white", (255, 255, 255, 255))):
        out = Image.alpha_composite(Image.new("RGBA", im.size, bg), im).convert("RGB")
        out.save("%s-on-%s.png" % (a.prefix, name))
    print("saved %s-on-black.png and %s-on-white.png: open both at 100%% zoom and look at the outline" % (a.prefix, a.prefix))


def cmd_lift(a):
    if a.gamma <= 0 or a.gamma > 1:
        fail("--gamma must be above 0 and at most 1 (below 1 brightens)")
    check_out(a.out, [a.photo], (".jpg", ".jpeg", ".png"))
    im = load(a.photo).convert("RGB")
    arr = (np.array(im).astype(float) / 255.0) ** a.gamma
    Image.fromarray((arr * 255).round().astype("uint8")).save(a.out, quality=95)
    print("saved %s (gamma %.2f)" % (a.out, a.gamma))


def cmd_reapply(a):
    check_out(a.out, [a.original, a.cutout], (".png",))
    orig = load(a.original).convert("RGB")
    cut = load(a.cutout, True)
    if cut.size != orig.size:
        fail("sizes differ: original %dx%d, cutout %dx%d" % (orig.size + cut.size))
    out = orig.convert("RGBA")
    out.putalpha(cut.getchannel("A"))
    out.save(a.out)
    print("saved %s (original pixels, mask from %s)" % (a.out, a.cutout))


def cmd_listing(a):
    if a.size < 100 or a.size > 5000:
        fail("--size must be between 100 and 5000 pixels")
    if a.margin < 0 or a.margin > 40:
        fail("--margin must be between 0 and 40 (percent of the side)")
    check_out(a.out, [a.cutout], (".png", ".jpg", ".jpeg"))
    im = load(a.cutout, True).convert("RGBA")
    box = im.getchannel("A").point(lambda v: 255 if v >= 16 else 0).getbbox()
    if box is None:
        fail("the cutout has no visible pixels")
    im = im.crop(box)
    s = a.size
    room = round(s * 0.06) if a.shadow == "floor" else 0
    free_w = s * (1 - 2 * a.margin / 100.0)
    free_h = s * (1 - 2 * a.margin / 100.0) - room
    k = min(free_w / im.width, free_h / im.height)
    im = im.resize((max(1, round(im.width * k)), max(1, round(im.height * k))), Image.LANCZOS)
    x = (s - im.width) // 2
    y = (s - room - im.height) // 2
    canvas = Image.new("RGBA", (s, s), (255, 255, 255, 255))
    if a.shadow != "none":
        al = im.getchannel("A")
        if a.shadow == "floor":
            band = np.array(al)[int(im.height * 0.95):, :] >= 128
            cols = np.where(band.any(axis=0))[0]
            bw = int(cols.max() - cols.min() + 1) if len(cols) else im.width
            cx = int((cols.max() + cols.min()) // 2) if len(cols) else im.width // 2
            ew, eh = max(2, round(bw * 0.9)), max(2, round(bw * 0.09))
            sh = Image.new("L", (ew, eh), 0)
            ImageDraw.Draw(sh).ellipse((0, 0, ew - 1, eh - 1), fill=255)
            pos = (x + cx - ew // 2, y + im.height - eh // 2)
        else:
            sh = al
            pos = (x + round(s * 0.012), y + round(s * 0.015))
        mask = Image.new("L", (s, s), 0)
        mask.paste(sh, pos)
        mask = mask.filter(ImageFilter.GaussianBlur(max(1, round(s * 0.012)))).point(lambda v: round(v * 0.45))
        layer = Image.new("RGBA", (s, s), (60, 60, 60, 0))
        layer.putalpha(mask)
        canvas = Image.alpha_composite(canvas, layer)
    canvas.alpha_composite(im, (x, y))
    rgb = canvas.convert("RGB")
    if os.path.splitext(a.out)[1].lower() == ".png":
        rgb.save(a.out)
    else:
        rgb.save(a.out, quality=95)
    print("saved %s at %d x %d, product %d x %d px, shadow %s" % (a.out, s, s, im.width, im.height, a.shadow))
    cmd_corners(argparse.Namespace(image=a.out))


def cmd_corners(a):
    im = load(a.image).convert("RGB")
    arr = np.array(im)
    h, w, _ = arr.shape
    print("corner pixels (top-left, top-right, bottom-left, bottom-right): %s %s %s %s"
          % tuple(tuple(int(c) for c in arr[y, x]) for y, x in ((0, 0), (0, w - 1), (h - 1, 0), (h - 1, w - 1))))
    border = np.concatenate([arr[0], arr[-1], arr[:, 0], arr[:, -1]])
    pure = int((border == 255).all(axis=1).sum())
    print("border pixels exactly 255,255,255: %d of %d (%.1f%%); lowest channel value on the border: %d"
          % (pure, len(border), 100.0 * pure / len(border), int(border.min())))


p = argparse.ArgumentParser(description="Check a product cutout and make a white listing image")
s = p.add_subparsers(dest="cmd", required=True)
c = s.add_parser("check"); c.add_argument("cutout"); c.add_argument("--box"); c.add_argument("--prefix", default="check"); c.set_defaults(f=cmd_check)
c = s.add_parser("lift"); c.add_argument("photo"); c.add_argument("out"); c.add_argument("--gamma", type=float, default=0.45); c.set_defaults(f=cmd_lift)
c = s.add_parser("reapply"); c.add_argument("original"); c.add_argument("cutout"); c.add_argument("out"); c.set_defaults(f=cmd_reapply)
c = s.add_parser("listing"); c.add_argument("cutout"); c.add_argument("out"); c.add_argument("--size", type=int, default=1000); c.add_argument("--margin", type=float, default=8); c.add_argument("--shadow", choices=("none", "floor", "drop"), default="none"); c.set_defaults(f=cmd_listing)
c = s.add_parser("corners"); c.add_argument("image"); c.set_defaults(f=cmd_corners)
args = p.parse_args()
args.f(args)
listing_tools.py, the whole script. Needs Python 3 with Pillow and NumPy. It reads files and writes new ones; it uploads nothing, and it stops with exit 2 instead of overwriting when the output name equals the input name.

Step 4: a shadow that does not look pasted

A product floating on pure white can look cut out, which it is. A faint shadow tells the eye where the thing sits. We tried two kinds and left a third as the plain option. Floor: a blurred ellipse under the base, for things that stand. Drop: a blurred, offset, 45% grey copy of the outline, for things that lie flat. The settings (45% strength, blur 1.2% of the side, offset 1.2% and 1.5%) are draft settings from our taste, not a platform figure.

Our pick: floor on the bottle, drop on the scissors, and no shadow when the shop asks for a plain white image. Only the final script's output is shown here. This is our view from four images, not a buyer test.

The shadow is a real change to the canvas. We counted pixels whose grey value (Pillow's convert("L")) is below 250, on the 1000 × 1000 canvas, with and without --shadow drop for the same product: the box cutout went from 32.2% to 35.8%, and the lift-fixed scissors file (result.png from the blade section) from 10.1% to 14.9%; the snippet is at the end of test-run.sh and the output is in test-results.txt. That shows the shadow is there, not that it looks natural. For that, look at the figure at full size.

python3 listing_tools.py listing cutout.png out-floor.png --shadow floor
python3 listing_tools.py listing cutout.png out-drop.png --shadow drop
Pick one per file; each run has its own output name so the first picture is not overwritten. --shadow none is the default.
Four white 1000 by 1000 pictures: a glass bottle without and with a soft floor shadow under its base, and a pair of scissors without and with a soft drop shadow at the lower right
1 and 2: bottle without and with the floor shadow. 3 and 4: scissors without and with the drop shadow.

The same steps on two harder items

A glass bottle and a pair of scissors, same tool, same checks. Read the table, then the two notes.

Cutout check on three product photos
PhotoTransparentSolidSoftWhat we saw
Box on a table54.7%31.5%13.7%Clean edge on black; table shadow kept as a smear
Glass bottle with cork53.6%37.2%9.2%Usable on white; the glass body is pale and uneven
Scissors on wood79.5%6.2%14.4%Upper blade lost at first; finger loops filled

One run each.

Scissors: on a pale steel blade against a pale table, the first cutout had 0.0% of the pixels in a box we drew inside the upper blade at alpha 128 or more, though 100% of them had some opacity, so the blade was nearly gone. The lift command brightens a copy (gamma 0.45, a draft setting from this one photo, not a rule); the cutout of that copy had 71.3% in the same box (28.7% of the box is still below 128). reapply puts its mask on your original pixels so the colours stay true. Controls: two boxes over plain background (the wall at 50,50,300,100 and the wood at 100,170,300,100) stayed at 0.0% in both cutouts, so plain background stayed empty. That is all the two boxes show. Over the whole picture the mask changed a lot: pixels at alpha 255 fell from 6.2% to 2.5%, pixels at alpha 128 or more rose from 11.0% to 13.3%, and 2.55% of the picture became alpha 128 or more where it was not before. Part of that gain is background colour left near the blade (a cream smear under it, panel 2 of the figure), not blade. Soft pixels went from 14.4% to 24.4%. Look at the fixed file on black before you use it.

Bottle: the tool page says "Clear glass and plastic is the hardest case." Ours was usable on white, with a pale uneven body and a ragged foot; we judged it on white only, so a coloured background may show more. The scissors' finger loops stayed filled with the table's colour; erase them in your editor if the hole matters.

python3 listing_tools.py lift photo.jpg lifted.jpg
# cut lifted.jpg out with the Koldflux tool, save the PNG as cutout_of_lifted.png
python3 listing_tools.py reapply original.jpg cutout_of_lifted.png result.png
python3 listing_tools.py check cutout.png --box 1300,495,300,30 --prefix first
python3 listing_tools.py check result.png --box 1300,495,300,30 --prefix fixed
Use original.jpg and photo.jpg for the same photo. The comment line is you using the tool on the brightened copy. The last two lines check the first cutout and result.png; replace the box with a rectangle inside your own thin part. --prefix keeps the two sets of black and white previews apart. Every output needs a new name; reapply writes a .png.
Top: the scissors' upper blade on white, nearly invisible in the first cutout and solid in the cutout made from a lifted copy, with a red box drawn over it. Bottom: two bars, 0.0% for the first cutout and 71.3% for the lifted copy
The red box (1300,495,300,30) sits inside the upper blade. Share of its pixels with alpha 128 or more: 0.0% first, 71.3% after the lifted copy.

Before you upload

A short pass, in the order that catches most problems.

  • Open the cutout on black and on white at 100% zoom. Pale or dark fringes mean a lighter or darker marketplace background will show them.
  • Draw a box inside any thin or clear part and run check --box. A low share where you can see product means the tool dropped it.
  • Make the white file from the PNG and read the border line: you want 100.0% of the border at 255,255,255.
  • Decide on the shadow: floor for things that stand, drop for things that lie flat, none if the shop wants plain white.
  • Keep the PNG. Export the size your shop's own page asks for.

For a portrait instead of a product, see the guide on cutting yourself out of a photo. If the background is the only problem, blurring it keeps the scene. If you also shoot short product videos, a QR code on the video is the same kind of small, checkable job.

Limits: where this stops

What this page does not show:

  • Three CC0 photos from Wikimedia Commons, rescaled to 1920 px, one run each: a box, a glass bottle, scissors. No jewellery, fabric, fur, reflective chrome or products with cut-out holes.
  • The tool page's own accuracy figures are quoted as its own: "the mask overlapped the true outline by 0.95 on average on plain backgrounds, with alpha error 0.02", measured on a phone, a computer, a cassette and plastic ware (read November 27, 2026). We did not repeat that test.
  • Our shadow settings are our taste, judged by eye on four images. No shop's rules, search ranking or sales were tested.
  • The brightening was one setting (gamma 0.45) tried on one photo. It may not help on every product.
  • The cutout was run on three 1920 px photos in headless Chromium on a server. Photos above 1920 px, original phone photos and HEIC files were not tested, the tool page says its size is limited by browser memory, and the first run downloads about 19 MB (the tool page's figure).
  • No account or phone was used, and nothing was uploaded to any shop. We read only Shopify's media page, on November 27, 2026.

Do it in your browser

Free Koldflux tools, no account needed.

Remove the background from a product photo (free, runs in your browser)Blur the background of a photo instead of removing it

Questions people ask

How do I remove the background from a product photo for my shop?

Open the Koldflux product background remover, choose the photo and download the transparent PNG. The model runs in your browser. Check the edge on black and white, then make a pure-white square file from the PNG.

Should I save the cutout as PNG or JPG?

Keep the PNG as your master, because only it keeps transparency. Make a JPG on white for upload when your shop wants one. Shopify's help page (read November 27, 2026) calls PNG the best type for most product images, followed by JPEG.

How do I get a pure white background, not off-white?

Flatten the PNG on #FFFFFF and read the border pixels. Our script prints how many are exactly 255,255,255: 4000 of 4000 on a 1000 × 1000 file, against 0 of 6720 on the untouched photo.

How do I add a shadow that does not look pasted?

Use a soft, faint shadow that matches how the product sits: a blurred ellipse under things that stand, a blurred offset copy for things that lie flat. Our settings are draft settings, not a platform figure.

Why did the tool lose part of my product?

Thin, pale or clear parts that are close in colour to the table are the usual cause; the tool page lists clear glass and plastic as the hardest case. On our scissors a box inside the blade went from 0.0% to 71.3% at alpha 128 or more after a lifted copy went through the tool; part of the rest of the picture got worse.

What size should the listing image be?

That depends on the shop. Shopify's help page says product images can be up to 5000 × 5000 px or 25 megapixels and under 20 MB, and that 2048 × 2048 px usually displays best for squares (read November 27, 2026). Check your own shop's page.

Are my product photos uploaded?

The tool page says the model runs in your browser and nothing is uploaded. Network traffic was not inspected.

Related

More guides on this topic

Sources and how we checked

  1. Koldflux test log: cutout checks, controls, lifted copy, border checks and shadows (our measurement, November 27, 2026) (checked 2026-11-27)
  2. Koldflux command log: every published command with its exit code and an edge case (checked 2026-11-27)
  3. Koldflux listing_tools.py: the check, lift, reapply, listing and corners script used on this page (checked 2026-11-27)
  4. Koldflux tool runs in headless Chromium (tool-run-raw.txt) (checked 2026-11-27)
  5. Koldflux product background remover page (its own test numbers and limits; read November 27, 2026) (checked 2026-11-27)
  6. Notes from the Shopify help page: the lines quoted here (our copy, November 27, 2026) (checked 2026-11-27)
  7. Shopify Help Center: Product media (file types, size limits, 2048 × 2048 for squares; read November 27, 2026) (checked 2026-11-27)
  8. Test photo: Reflector Saratov 6P6S tube box 02, Retired electrician, CC0, Wikimedia Commons (checked 2026-11-27)
  9. Test photo: Whiskey Bottle With Cork, Iainmccurdy, CC0, Wikimedia Commons (checked 2026-11-27)
  10. Test photo: Scissors - public domain 01, Oto Zapletal, CC0, Wikimedia Commons (checked 2026-11-27)

We took three CC0 product photos from Wikimedia Commons (a cardboard box on a table, a glass bottle with a cork, scissors on wood), rescaled each to 1920 px on the long side, and ran the live Koldflux product background remover on each in headless Chromium, downloading PNG and JPG. We checked each PNG with our script (alpha shares, previews on black and white), drew a box inside the scissors' upper blade, ran a brightened copy through the tool and measured the same box, and flattened cutouts on pure white with a border check, with and without shadows. Controls: a synthetic picture with a known answer, a half-transparent picture, a JPG that must be refused, the untouched photo's border, and background boxes for the lift. Every published command was also run on an edge input. Everything is in public/hub-media/cut-out-product-photo-for-shop-listing/.