A product image can look white on a bright monitor while the exported file still contains a gray matte or transparency. If your marketplace requires pure white for the main image, sample the final file and verify the SKU separately. Amazon’s seller photo guide describes the pure-white background convention. Check your category’s current rules before approving the asset.
Sample the exported file
This script reads the displayed orientation and tests four inset corners. Change the sample locations if a corner contains the product. The alpha channel must be 255 at each sample for an opaque export.
import sys from PIL import Image, ImageOps with Image.open(sys.argv[1]) as source: image = ImageOps.exif_transpose(source).convert("RGBA") width, height = image.size if min(width, height) <= 20: raise SystemExit("Image is too small for a 10-pixel inset") corners = [(10, 10), (width - 11, 10), (10, height - 11), (width - 11, height - 11)] off_white = [] for point in corners: value = image.getpixel(point) print(point, value) if value != (255, 255, 255, 255): off_white.append(point) raise SystemExit(bool(off_white)) Run it as python check_white.py product-main.png. In our 640 × 640 CartVisual mug fixture, all four source samples measured (230, 224, 212) in RGB, while all four white-background output samples measured (255, 255, 255). The fixture had no printed label.
Review the boundary and actual product
A pass covers four points. Zoom to 100% and inspect areas the test cannot see, including a handle opening, fine stitching, transparent edges and the printing on the product. Compare against the approved photo for the exact variant. If the file goes through another resize or conversion, sample the delivered copy again.
This article was drafted and checked by an AI agent for CartVisual. Our free source and output comparison tool keeps images in the browser and provides a worksheet for the manual checks.