<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: 陈亮</title>
    <description>The latest articles on DEV Community by 陈亮 (@merchantcanvas).</description>
    <link>https://dev.to/merchantcanvas</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4271331%2Fddf7c357-55f8-4147-bc07-7e4734b56ae8.png</url>
      <title>DEV Community: 陈亮</title>
      <link>https://dev.to/merchantcanvas</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/merchantcanvas"/>
    <language>en</language>
    <item>
      <title>Batch-cleaning 40 product photos: what actually breaks</title>
      <dc:creator>陈亮</dc:creator>
      <pubDate>Sat, 28 Nov 2026 21:40:16 +0000</pubDate>
      <link>https://dev.to/merchantcanvas/batch-cleaning-40-product-photos-what-actually-breaks-439g</link>
      <guid>https://dev.to/merchantcanvas/batch-cleaning-40-product-photos-what-actually-breaks-439g</guid>
      <description>&lt;p&gt;Ozon and Noon both accept &lt;strong&gt;one&lt;/strong&gt; main image. Most sellers have &lt;strong&gt;forty&lt;/strong&gt; photos to clean.&lt;/p&gt;

&lt;p&gt;Here is how I batch it without opening an image editor, and what actually breaks when you do.&lt;/p&gt;

&lt;h2&gt;
  
  
  The loop
&lt;/h2&gt;

&lt;p&gt;For every photo:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Measure it first.&lt;/strong&gt; Aspect ratio, long side, frame-edge whiteness, product fill. If a photo already passes, cleaning it is waste — and on a busy background, cleaning it can make it &lt;em&gt;worse&lt;/em&gt; to a human buyer while looking &lt;em&gt;better&lt;/em&gt; to a rule checker.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clean only what fails.&lt;/strong&gt; Background replacement, then re-measure the output. Never trust "it rendered", trust the numbers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Name the output after the input.&lt;/strong&gt; &lt;code&gt;white-&amp;lt;original&amp;gt;.png&lt;/code&gt;. When you have 40 files, the only thing that matters is that you can match output to input without opening either.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What breaks at scale
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Batch jobs time out.&lt;/strong&gt; A white-background edit is a diffusion pass, not a filter. On a local GPU it is 60–120 seconds per photo. If your pipeline holds a single HTTP request open for the whole edit, browsers drop it at around 100 seconds and you get &lt;code&gt;Failed to fetch&lt;/code&gt; with no output and no reason.&lt;/p&gt;

&lt;p&gt;The fix is boring: submit a job, get an id back in ~2 seconds, poll for the result. The connection is short-lived; the work is not.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Retries are not optional.&lt;/strong&gt; I measured the same input photo twice and got a clean cut-out once and a 2% frame-edge result the other time. Diffusion output is not deterministic across seeds. If your pipeline tries once and returns whatever came out, roughly a quarter of a real catalog comes back unusable — and the failure mode is silent, because the job "succeeded".&lt;/p&gt;

&lt;p&gt;Retry with a different seed when the measured quality is low, and stop as soon as it clears the bar. Two or three attempts clears what one attempt leaves on the floor.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The quality gate must measure the frame edge, not the whole picture.&lt;/strong&gt; &lt;a href="https://dev.to/merchantcanvas/why-your-ozon-and-noon-main-images-get-rejected-a-measurement-problem-19e9"&gt;I wrote about this separately&lt;/a&gt; — a photo whose product fills 60% of the frame can be &lt;em&gt;perfectly&lt;/em&gt; white and still score 41% on a whole-frame whiteness metric.&lt;/p&gt;

&lt;h2&gt;
  
  
  A worked Before/After
&lt;/h2&gt;

&lt;p&gt;Six real marketplace product photos, run through the same pipeline:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Input&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;th&gt;Frame edge white&lt;/th&gt;
&lt;th&gt;Product preserved&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Stainless bottle, busy printed background&lt;/td&gt;
&lt;td&gt;pass&lt;/td&gt;
&lt;td&gt;100.0%&lt;/td&gt;
&lt;td&gt;yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CamelBak bottle, beige studio backdrop&lt;/td&gt;
&lt;td&gt;pass&lt;/td&gt;
&lt;td&gt;100.0%&lt;/td&gt;
&lt;td&gt;yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Black bottle, dark grey background&lt;/td&gt;
&lt;td&gt;pass&lt;/td&gt;
&lt;td&gt;100.0%&lt;/td&gt;
&lt;td&gt;yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Sticker-covered bottle, patterned wall&lt;/td&gt;
&lt;td&gt;pass&lt;/td&gt;
&lt;td&gt;100.0%&lt;/td&gt;
&lt;td&gt;yes — all 8 stickers legible&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Swigina bottle + loose cap + brush&lt;/td&gt;
&lt;td&gt;pass&lt;/td&gt;
&lt;td&gt;100.0%&lt;/td&gt;
&lt;td&gt;yes, accessories kept&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bottle on a full-frame noisy texture&lt;/td&gt;
&lt;td&gt;pass (after retry)&lt;/td&gt;
&lt;td&gt;100.0%&lt;/td&gt;
&lt;td&gt;yes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Six of six, all four corners exactly &lt;code&gt;255,255,255&lt;/code&gt;. It took retries on one of them — that is the point.&lt;/p&gt;

&lt;h2&gt;
  
  
  Doing it yourself
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://merchant-canvas.loveoracle.workers.dev/check" rel="noopener noreferrer"&gt;free checker&lt;/a&gt; measures your photo in the browser and tells you which of the two platforms it fails and why. Mentioning it because it's the step people skip: measuring before you edit saves you from "cleaning" a photo that was already fine, and from re-editing one that will never pass.&lt;/p&gt;

&lt;p&gt;If you have a whole catalog, &lt;a href="https://liangchen82.gumroad.com/l/yrmnwu" rel="noopener noreferrer"&gt;the batch tool&lt;/a&gt; runs photos one at a time with a progress bar and gets you the whole set back as PNGs. Same engine, no editor.&lt;/p&gt;

&lt;h2&gt;
  
  
  The rest of this series
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://dev.to/merchantcanvas/why-your-ozon-and-noon-main-images-get-rejected-a-measurement-problem-19e9"&gt;Why your Ozon and Noon main images get rejected: a measurement problem&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/merchantcanvas/noon-main-images-the-square-that-is-not-a-resize-10fj"&gt;Noon main images: the square that is not a resize&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/merchantcanvas/your-background-is-white-your-main-image-is-still-getting-rejected-555k"&gt;Your background is white. Your main image is still getting rejected.&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://dev.to/merchantcanvas/one-product-two-main-images-ozon-34-vs-noon-11-5e33"&gt;One product, two main images: Ozon 3:4 vs Noon 1:1&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>automation</category>
      <category>productivity</category>
      <category>tools</category>
    </item>
    <item>
      <title>One product, two main images: Ozon 3:4 vs Noon 1:1</title>
      <dc:creator>陈亮</dc:creator>
      <pubDate>Sat, 28 Nov 2026 20:33:50 +0000</pubDate>
      <link>https://dev.to/merchantcanvas/one-product-two-main-images-ozon-34-vs-noon-11-5e33</link>
      <guid>https://dev.to/merchantcanvas/one-product-two-main-images-ozon-34-vs-noon-11-5e33</guid>
      <description>&lt;p&gt;"If you sell on both Ozon and Noon, one product needs at least two main images. Not two photos — two &lt;em&gt;exports&lt;/em&gt; of the same photo, cropped differently, because the two platforms want incompatible shapes.\n\nI see sellers solve this by uploading whichever file they have and hoping. Then one platform rejects for aspect ratio and the seller concludes \"this platform is broken.\"\n\n## The two shapes\n\n| Platform | Main image shape | Minimum long side |\n|---|---|---|\n| Ozon | 3:4 portrait | 1200 |\n| Noon | 1:1 square | 1000 |\n\nA 3:4 image is not a 1:1 image. There is no single file that satisfies both, and no resize that produces a valid one from the other without losing the composition.\n\n## Three ways people try to fix it, and what happens\n\n*&lt;em&gt;1. Pad the portrait to a square.&lt;/em&gt;* Add white to the left and right. Now it is 1:1. Now the product occupies a narrow vertical strip in the middle of a wide white field — and fails the occupancy rule. Rejected for \"product too small,\" which is not the rule you were trying to fix.\n\n*&lt;em&gt;2. Stretch the portrait to a square.&lt;/em&gt;* Now it is 1:1 and the product fills the frame. The bottle is visibly fatter than reality. Rejected for distortion, or passes and looks wrong to buyers.\n\n*&lt;em&gt;3. Export a second crop from a wider source.&lt;/em&gt;* The correct answer, and it requires that your source photo has room around the product. A tight 3:4 source has no material to crop a square from — you get either option 1 or option 2.\n\n## What this means practically\n\nThe square export has to come from a source that is &lt;em&gt;at least&lt;/em&gt; as wide as the finished square needs to be filled. Two ways to get there:\n\n- &lt;strong&gt;Shoot wide once, crop twice.&lt;/strong&gt; One photo with generous margins on all sides, exported at 3:4 for Ozon and 1:1 for Noon. Costs nothing, requires planning at shoot time.\n- &lt;strong&gt;Recompose the existing photo.&lt;/strong&gt; Extend the background outward to the square, keeping the product at the same scale and position. This is composition work, not resizing — and it is the only option for catalogs that already exist.\n\nThe second option is the harder one, and it is where most of the tooling I looked at is dishonest: a background-removal tool returns the same product at the same size on a transparent canvas, and calls that a square export. It is not. You have to scale the product up to fill the new canvas, or extend the white around it until occupancy is right.\n\n## Checking both exports before upload\n\nFor each export:\n\n1. Ratio exactly 3:4 (&lt;code&gt;0.75&lt;/code&gt;) for Ozon, exactly 1:1 (&lt;code&gt;1.0&lt;/code&gt;) for Noon\n2. Long side at least 1200 / 1000 respectively\n3. Frame edge near-white (sample the border band, not the whole image)\n4. Product bounding box is a high share of the frame — this is the one that reveals padding\n5. Same product, same angle, same colors in both exports — reviewers compare across listings\n\nItems 1, 2, 3 and 4 take a few milliseconds of pixel arithmetic and can be run locally in a browser tab. That is what &lt;a href="https://merchant-canvas.loveoracle.workers.dev/check" rel="noopener noreferrer"&gt;this free checker&lt;/a&gt; does for you — it reports both the raw numbers and which of the rules the specific export will fail.\n\n## The general lesson\n\nMarketplaces reject per rule, one at a time. Sellers fix the named rule, resubmit, and get the next one. Fixing \"the shape\" by padding trades a ratio failure for an occupancy failure, and the loop continues.\n\nMeasuring all four rules before you upload is the only way to exit that loop, and all four are cheap arithmetic.\n\n---\n\n## The rest of this series&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://dev.to/merchantcanvas/batch-cleaning-40-product-photos-what-actually-breaks-439g"&gt;Batch-cleaning 40 product photos: what actually breaks&lt;/a&gt;\n\n- &lt;a href="https://dev.to/merchantcanvas/why-your-ozon-and-noon-main-images-get-rejected-a-measurement-problem-19e9"&gt;Why your Ozon and Noon main images get rejected: a measurement problem&lt;/a&gt; — the edge-band measurement that explains why a correct photo scores 41 percent.\n- &lt;a href="https://dev.to/merchantcanvas/noon-main-images-the-square-that-is-not-a-resize-10fj"&gt;Noon main images: the square that is not a resize&lt;/a&gt; — letterbox, stretch or re-frame, and what each one costs.\n- &lt;a href="https://dev.to/merchantcanvas/your-background-is-white-your-main-image-is-still-getting-rejected-555k"&gt;Your background is white. Your main image is still getting rejected.&lt;/a&gt; — background removal does not touch occupancy.\n\nFree, no-upload checker: &lt;a href="https://merchant-canvas.loveoracle.workers.dev/check" rel="noopener noreferrer"&gt;merchant-canvas.loveoracle.workers.dev/check&lt;/a&gt;\n\n---\n\n*Shapes and minimums differ by category on both platforms. Confirm against each marketplace's seller help for your category before a bulk upload.*\n"&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ozon</category>
      <category>ecommerce</category>
      <category>marketing</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Your background is white. Your main image is still getting rejected.</title>
      <dc:creator>陈亮</dc:creator>
      <pubDate>Sat, 28 Nov 2026 20:29:06 +0000</pubDate>
      <link>https://dev.to/merchantcanvas/your-background-is-white-your-main-image-is-still-getting-rejected-555k</link>
      <guid>https://dev.to/merchantcanvas/your-background-is-white-your-main-image-is-still-getting-rejected-555k</guid>
      <description>&lt;p&gt;A seller wrote to me: "I made my background pure white, still rejected." That is the most common thing I hear, and it is usually true — the background &lt;em&gt;is&lt;/em&gt; white. The rejection is about something else on the same form.&lt;/p&gt;

&lt;p&gt;Main-image rules are a checklist, and every marketplace checks every line. Fixing the background only clears one line. Here is the rest of the list, with what actually goes wrong.&lt;/p&gt;

&lt;h2&gt;
  
  
  The four lines that get checked
&lt;/h2&gt;

&lt;p&gt;Every marketplace main-image form is roughly this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Resolution and aspect ratio&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Background purity&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;How much of the frame the product occupies&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;No text, no added graphics, no watermarks&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A rejection message names one of them, but a photo can fail all four. Sellers fix the one that got named, resubmit, and get rejected on the next line. That loop can run four times.&lt;/p&gt;

&lt;h2&gt;
  
  
  Line 1: resolution and aspect
&lt;/h2&gt;

&lt;p&gt;Ozon wants &lt;strong&gt;3:4 portrait&lt;/strong&gt; with long side ≥ &lt;strong&gt;1200&lt;/strong&gt; (Ozon's own guidance is 900×1200 minimum). Noon wants &lt;strong&gt;1:1 square&lt;/strong&gt;, long side ≥ &lt;strong&gt;1000&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;These two are not compatible. A photo that satisfies Ozon's 3:4 is not 1:1, and vice versa. If you sell on both, you need two crops from one source — and that is a &lt;em&gt;second&lt;/em&gt; photo, not a resize.&lt;/p&gt;

&lt;p&gt;What breaks: sellers upload the same file to both. One of the two platforms sees the wrong aspect and rejects. It reads like "this platform is stricter", but the file was simply never valid for it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Line 2: background purity — and the wrong way to measure it
&lt;/h2&gt;

&lt;p&gt;White background. Sounds binary. It is not, and the standard measurement is subtly wrong.&lt;/p&gt;

&lt;p&gt;Most tooling measures the share of near-white pixels &lt;strong&gt;across the whole frame&lt;/strong&gt;. That number falls as the product gets bigger — so making the product fill the frame, which is exactly what line 3 requires, &lt;em&gt;lowers&lt;/em&gt; your line-2 score. A perfect photo can score 41% by that metric.&lt;/p&gt;

&lt;p&gt;The measurement that matches what reviewers actually see is &lt;strong&gt;near-white along the frame edge&lt;/strong&gt;: sample a band around the border, ask what share of it is near-white. A correctly lit white-background photo scores ~100% there regardless of product size.&lt;/p&gt;

&lt;p&gt;I ran this on real photos and the numbers were unambiguous: same image, whole-frame 41.3%, frame edge 100.0%. Background is perfect. The widely-used metric says otherwise. That is one post by itself: &lt;a href="https://dev.to/merchantcanvas/why-your-ozon-and-noon-main-images-get-rejected-a-measurement-problem-19e9"&gt;Why your Ozon and Noon main images get rejected: a measurement problem&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Line 3: product occupancy — the one nobody thinks to check
&lt;/h2&gt;

&lt;p&gt;The product has to fill the frame. Ozon's guidance is roughly 70%+; Noon is stricter.&lt;/p&gt;

&lt;p&gt;This is where a &lt;em&gt;correctly&lt;/em&gt; de-backgrounded photo fails. Removing the background does not change the subject's size in the frame. If the original shot had the product at 35% of the frame with breathing room, the output still sits at 35%, now against pure white — and it gets rejected for being too small.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Background removal and composition are two different problems.&lt;/strong&gt; Most tools solve the first and quietly ignore the second. If your product photo is small in the frame, the fix is a crop or a re-composition, not white paint.&lt;/p&gt;

&lt;h2&gt;
  
  
  Line 4: nothing added
&lt;/h2&gt;

&lt;p&gt;No text overlays, no badges ("NEW", "-50%"), no watermark, no collage border, no color swatch strip. Gallery images may carry these on some platforms; the main image may not.&lt;/p&gt;

&lt;p&gt;Two things that get people: a logo that is part of the packaging (fine — that is the product) versus a logo &lt;em&gt;you&lt;/em&gt; overlaid on the image (not fine), and a "zoom" inset showing a detail (not fine on main images on either platform).&lt;/p&gt;

&lt;h2&gt;
  
  
  A checklist you can run in one pass
&lt;/h2&gt;

&lt;p&gt;Before uploading, confirm all four:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;[ ] Aspect is &lt;strong&gt;3:4&lt;/strong&gt; (Ozon) and/or &lt;strong&gt;1:1&lt;/strong&gt; (Noon), from two separate exports&lt;/li&gt;
&lt;li&gt;[ ] Long side ≥ 1200 (Ozon) / ≥ 1000 (Noon)&lt;/li&gt;
&lt;li&gt;[ ] Frame edge is near-white — check the &lt;strong&gt;edge band&lt;/strong&gt;, not the whole image&lt;/li&gt;
&lt;li&gt;[ ] Product bounding box is a high share of the frame (roughly 70%+ vertically or horizontally)&lt;/li&gt;
&lt;li&gt;[ ] No added text, badges, watermarks, or inset frames&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All of these except the last are arithmetic on pixels, computable locally in a browser tab with no upload. I put that in a free page here: &lt;a href="https://merchant-canvas.loveoracle.workers.dev/check" rel="noopener noreferrer"&gt;measure your photo&lt;/a&gt; — it reports size, ratio, edge-band whiteness, and product occupancy, and tells you which of the four lines will fail.&lt;/p&gt;

&lt;h2&gt;
  
  
  The takeaway
&lt;/h2&gt;

&lt;p&gt;"Make the background white" is one of four checks. The reason sellers loop through rejections is that each rejection names one check at a time. Run all four up front and the loop stops before it starts.&lt;/p&gt;

&lt;h2&gt;
  
  
  The rest of this series
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://dev.to/merchantcanvas/batch-cleaning-40-product-photos-what-actually-breaks-439g"&gt;Batch-cleaning 40 product photos: what actually breaks&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://dev.to/merchantcanvas/why-your-ozon-and-noon-main-images-get-rejected-a-measurement-problem-19e9"&gt;Why your Ozon and Noon main images get rejected: a measurement problem&lt;/a&gt; — the edge-band measurement that explains why a correct photo scores 41 percent.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://dev.to/merchantcanvas/noon-main-images-the-square-that-is-not-a-resize-10fj"&gt;Noon main images: the square that is not a resize&lt;/a&gt; — letterbox, stretch or re-frame, and what each one costs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://dev.to/merchantcanvas/one-product-two-main-images-ozon-34-vs-noon-11-5e33"&gt;One product, two main images: Ozon 3:4 vs Noon 1:1&lt;/a&gt; — the same listing cannot share one file across both platforms.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Free checker, no upload: &lt;a href="https://merchant-canvas.loveoracle.workers.dev/check" rel="noopener noreferrer"&gt;merchant-canvas.loveoracle.workers.dev/check&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Requirements vary by category — cosmetics, supplements, and food have extra rules. Verify against each marketplace's seller help before a bulk upload.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>marketing</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Noon main images: the square that is not a resize</title>
      <dc:creator>陈亮</dc:creator>
      <pubDate>Sat, 28 Nov 2026 20:26:38 +0000</pubDate>
      <link>https://dev.to/merchantcanvas/noon-main-images-the-square-that-is-not-a-resize-10fj</link>
      <guid>https://dev.to/merchantcanvas/noon-main-images-the-square-that-is-not-a-resize-10fj</guid>
      <description>&lt;p&gt;Noon is the marketplace every Gulf seller lists on and almost nobody writes engineering content about. I went to check the main-image rules, measured real photos against them, and hit the same wall I hit with Ozon — but for a different reason.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Noon actually asks for
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;1:1 square&lt;/strong&gt;, at least &lt;strong&gt;1000×1000&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;White background&lt;/strong&gt; for the main image&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The product fills the frame&lt;/strong&gt; — Noon's guidance is stricter here than Ozon's&lt;/li&gt;
&lt;li&gt;Gallery images can be lifestyle; only the main image is held to the white rule&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Three conditions. They look simple. Here is what breaks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Problem 1: your source photo is portrait, Noon wants square
&lt;/h2&gt;

&lt;p&gt;Almost everything a seller shoots is portrait — 3:4, 4:5, 9:16 from a phone. Noon wants 1:1.&lt;/p&gt;

&lt;p&gt;There are exactly three ways to turn a portrait photo into a square, and only one of them is safe:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Approach&lt;/th&gt;
&lt;th&gt;Aspect becomes 1:1&lt;/th&gt;
&lt;th&gt;Product still fills frame&lt;/th&gt;
&lt;th&gt;Result&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Letterbox (pad left/right)&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;No&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Rejected — too much empty frame&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Stretch to square&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Rejected — distorted product&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Recompose / extend background&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Passes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The first two are what most batch-resize tooling does, because they are geometry operations. The third is a &lt;em&gt;composition&lt;/em&gt; operation, and it is the only correct one. This is the single biggest reason Noon main images bounce.&lt;/p&gt;

&lt;p&gt;If you do nothing else: &lt;strong&gt;do not pad a portrait photo into a square.&lt;/strong&gt; The white background you added on the sides is a white background with a tiny product in the middle, and Noon's reviewers see exactly that.&lt;/p&gt;

&lt;h2&gt;
  
  
  Problem 2: "white background" has a threshold nobody states
&lt;/h2&gt;

&lt;p&gt;Noon does not publish an exact pixel threshold. In practice, main images that read as white need to be &lt;em&gt;very&lt;/em&gt; white — not "light grey", not "off-white studio backdrop."&lt;/p&gt;

&lt;p&gt;I measure it as the share of pixels along the frame edge that are near-white (all three channels ≥ 232, channel spread ≤ 16). A photo that passes comfortably sits above ~98%. A studio photo with a visible grey falloff sits in the 70s and gets pushed back.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why the frame edge, and not the whole image?&lt;/strong&gt; Because a correct product photo has the product in the middle. If you measure near-white across the whole frame, the number falls as the product gets bigger — so a &lt;em&gt;better&lt;/em&gt; photo scores worse. I wrote this mistake up in detail with the actual numbers here: &lt;a href="https://dev.to/merchantcanvas/why-your-ozon-and-noon-main-images-get-rejected-a-measurement-problem-19e9"&gt;Why your Ozon and Noon main images get rejected: a measurement problem&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Problem 3: the square crop eats the product
&lt;/h2&gt;

&lt;p&gt;If you crop to 1:1 from a portrait photo, you cut the top and bottom of the product. If you crop from a wide photo, you cut the sides. Either way you lose licensing/compliance detail that Noon's reviewers do check — labels, care instructions, regulatory marks on cosmetics and supplements.&lt;/p&gt;

&lt;p&gt;Real catalogs solve this by &lt;strong&gt;re-shooting on a square canvas&lt;/strong&gt;, not by cropping. For the sellers who cannot re-shoot, the only legitimate path is generating the missing background around the existing product, which is what I ended up building.&lt;/p&gt;

&lt;h2&gt;
  
  
  A practical checklist before you upload to Noon
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Square, exactly &lt;strong&gt;1:1&lt;/strong&gt; — not 0.98, not 1.02&lt;/li&gt;
&lt;li&gt;Long side ≥ &lt;strong&gt;1000px&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;Background: near-white along the &lt;strong&gt;frame edge&lt;/strong&gt;, ≥98%&lt;/li&gt;
&lt;li&gt;Product bounding box: high share of frame — if your product occupies a small middle region, fix the composition first, not the background&lt;/li&gt;
&lt;li&gt;No text, no logos you added, no watermarks, no collage frames&lt;/li&gt;
&lt;li&gt;Category rules override all of the above (cosmetics, supplements, and food have their own requirements — check Noon's seller help for your category)&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Items 1, 2, 3 and 4 are pure arithmetic on the pixels and you can compute them in a browser tab without uploading anything. That is what &lt;a href="https://merchant-canvas.loveoracle.workers.dev/check" rel="noopener noreferrer"&gt;this free checker&lt;/a&gt; does — geometry and edge-band whiteness locally, nothing sent to a server.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would tell a seller in one sentence
&lt;/h2&gt;

&lt;p&gt;On Noon, the failure mode is almost never "my background is not white enough" — it is "my photo was never composed for a square in the first place," and no amount of background editing fixes that.&lt;/p&gt;

&lt;h2&gt;
  
  
  The rest of this series
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://dev.to/merchantcanvas/batch-cleaning-40-product-photos-what-actually-breaks-439g"&gt;Batch-cleaning 40 product photos: what actually breaks&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://dev.to/merchantcanvas/why-your-ozon-and-noon-main-images-get-rejected-a-measurement-problem-19e9"&gt;Why your Ozon and Noon main images get rejected: a measurement problem&lt;/a&gt; — the edge-band measurement that explains why a correct photo scores 41 percent.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://dev.to/merchantcanvas/your-background-is-white-your-main-image-is-still-getting-rejected-555k"&gt;Your background is white. Your main image is still getting rejected.&lt;/a&gt; — background removal does not touch occupancy.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://dev.to/merchantcanvas/one-product-two-main-images-ozon-34-vs-noon-11-5e33"&gt;One product, two main images: Ozon 3:4 vs Noon 1:1&lt;/a&gt; — the same listing cannot share one file across both platforms.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Free checker, no upload: &lt;a href="https://merchant-canvas.loveoracle.workers.dev/check" rel="noopener noreferrer"&gt;merchant-canvas.loveoracle.workers.dev/check&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Specs above are Noon's published main-image requirements as of writing; verify against Noon's seller help for your category before a bulk upload. The measurement numbers come from real Amazon product photos run through the same checks.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ecommerce</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Why your Ozon and Noon main images get rejected: a measurement problem</title>
      <dc:creator>陈亮</dc:creator>
      <pubDate>Sat, 28 Nov 2026 20:22:47 +0000</pubDate>
      <link>https://dev.to/merchantcanvas/why-your-ozon-and-noon-main-images-get-rejected-a-measurement-problem-19e9</link>
      <guid>https://dev.to/merchantcanvas/why-your-ozon-and-noon-main-images-get-rejected-a-measurement-problem-19e9</guid>
      <description>&lt;p&gt;"I had eight product photos sitting on my disk — real listings scraped from Amazon (bottles, CamelBak pouches, sticker sheets). I wanted to know a boring question: &lt;strong&gt;why do sellers keep getting main images rejected on Ozon and Noon?&lt;/strong&gt;\n\nSo I built a checker, ran it, and then ran it again on the &lt;em&gt;same&lt;/em&gt; images after cleaning them. The second run taught me something more useful than the first.\n\n## The rule everyone quotes\n\n- &lt;strong&gt;Ozon&lt;/strong&gt; main image: portrait &lt;strong&gt;3:4&lt;/strong&gt;, at least 900×1200, pure white background, product fills the frame, no text/logos/watermarks from you.\n- &lt;strong&gt;Noon&lt;/strong&gt; main image: &lt;strong&gt;1:1&lt;/strong&gt; square, at least 1000×1000, white background.\n\nStraightforward. So you measure your photo, compare the numbers, done. That is what my first version did — and it was wrong.\n\n## The measurement that lies to you\n\nMy first checker computed &lt;em&gt;\"what percentage of the whole frame is near-white\"&lt;/em&gt;. Simple. Also wrong.\n\nTake a clean white-background product shot where the bottle occupies 58% of the frame. The background is &lt;strong&gt;perfect white&lt;/strong&gt; — every corner reads &lt;code&gt;rgb(255,255,255)&lt;/code&gt;. But by whole-frame percentage, the near-white share is only about &lt;strong&gt;41%&lt;/strong&gt;. My rule required 60%. So the checker confidently told me a &lt;em&gt;perfect&lt;/em&gt; image would fail.\n\nHere is the actual number from one image:\n\n| Metric | Value |\n|---|---|\n| Corners (all four) | 255,255,255 |\n| Near-white, whole frame | &lt;strong&gt;41.3%&lt;/strong&gt; |\n| Near-white, &lt;strong&gt;frame edge&lt;/strong&gt; | &lt;strong&gt;100.0%&lt;/strong&gt; |\n| Product bounding box | 74.7% of frame |\n\nThe image is fine. The metric was measuring the product, not the background.\n\n*&lt;em&gt;Fix:&lt;/em&gt;* sample only the border band (I use 6% of the shorter side around all four edges) and compute near-white there. Background purity is a property of the &lt;em&gt;edge&lt;/em&gt;, not of the whole canvas — the product is supposed to be in the middle.\n\nThis matters for anyone building a linter for marketplace images: if your background check is a whole-frame ratio, it degrades exactly as your product gets bigger — meaning a &lt;em&gt;better&lt;/em&gt; photo scores worse. That is the opposite of what you want.\n\n## Second finding: cleaning the photo doesn't fix the framing\n\nI ran the eight photos through a background-removal/replacement pass (white studio background, product preserved). Seven of eight came out clean with the product fully intact — labels, logos, embossing intact.\n\nWhat did &lt;strong&gt;not&lt;/strong&gt; happen automatically: the framing.\n\nA good white-background conversion keeps the product where it was. But Ozon and Noon both want the product to &lt;em&gt;fill&lt;/em&gt; the frame. So after cleaning you still have a photo that passes \"background = white\" and fails \"product fills the frame.\"\n\nThat gap — between \"background is legal\" and \"composition is legal\" — is where most of the back-and-forth comes from. They are separate checks and most tooling only handles the first.\n\n## Third finding: square vs portrait is not a resize\n\nOzon wants 3:4. Noon wants 1:1. Your source photo is whatever your phone produced.\n\nIf you letterbox a portrait photo into a square, you satisfy Noon's aspect ratio and fail its \"product fills the frame.\" If you crop, you risk cutting the product. Neither is a resize operation — it is a composition decision, and it is per platform.\n\n## What I would check before uploading anything\n\n1. &lt;strong&gt;Long side&lt;/strong&gt; against the platform minimum (900 Ozon / 1000 Noon) — cheap, binary.\n2. &lt;strong&gt;Aspect ratio&lt;/strong&gt; — 0.75 for Ozon, 1.0 for Noon — also cheap and binary.\n3. &lt;strong&gt;Background purity on the frame edge&lt;/strong&gt;, not the whole frame. Target ≥92% near-white for Ozon, ~98% for Noon.\n4. &lt;strong&gt;Product bounding box&lt;/strong&gt; as a share of the frame. Both platforms want it high; if it is under ~60% you will probably get pushed back.\n\nSteps 1, 2 and 4 are pure geometry and you can compute them in a browser with a canvas — no upload, no server, no account. That is what I built for myself, and it runs entirely client-side: &lt;a href="https://merchant-canvas.loveoracle.workers.dev/check" rel="noopener noreferrer"&gt;the free checker&lt;/a&gt;. It uses the edge-band method above.\n\n## The honest caveat\n\nA local checker cannot know a platform's &lt;em&gt;human&lt;/em&gt; review criteria — brand-ambiguity, category-specific rules (Ozon Fresh food is 1:1, fashion has its own rules), Noon's religious-sensitivity rules. Those need a person. What it can do is remove the mechanical rejections, which are the majority of the boring ones, in about a second, for free.\n\nIf you are running catalog uploads at volume, the useful part is not \"make my image white\" — it is \"tell me &lt;em&gt;which&lt;/em&gt; rule I am breaking on this one, right now, before I upload.\"\n\n---\n\n*Numbers above come from measuring real Amazon product photos. The spec values (900×1200, 3:4, 1000×1000) are the published Ozon and Noon requirements; check them against the platform docs before relying on them for a specific category.*\n\n\n## The rest of this series&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://dev.to/merchantcanvas/batch-cleaning-40-product-photos-what-actually-breaks-439g"&gt;Batch-cleaning 40 product photos: what actually breaks&lt;/a&gt;\n\n- &lt;a href="https://dev.to/merchantcanvas/noon-main-images-the-square-that-is-not-a-resize-10fj"&gt;Noon main images: the square that is not a resize&lt;/a&gt; — why letterboxing and stretching both fail, and what re-framing costs you.\n- &lt;a href="https://dev.to/merchantcanvas/your-background-is-white-your-main-image-is-still-getting-rejected-555k"&gt;Your background is white. Your main image is still getting rejected.&lt;/a&gt; — removing the background does not change how big the product is in the frame.\n- &lt;a href="https://dev.to/merchantcanvas/one-product-two-main-images-ozon-34-vs-noon-11-5e33"&gt;One product, two main images: Ozon 3:4 vs Noon 1:1&lt;/a&gt; — the same listing cannot share one file across the two platforms.\n\nFree, no-upload checker: &lt;a href="https://merchant-canvas.loveoracle.workers.dev/check" rel="noopener noreferrer"&gt;merchant-canvas.loveoracle.workers.dev/check&lt;/a&gt;\n\n@ozon &lt;a class="mentioned-user" href="https://dev.to/noon"&gt;@noon&lt;/a&gt; &lt;a class="mentioned-user" href="https://dev.to/ecommerce"&gt;@ecommerce&lt;/a&gt;\n"&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ozon</category>
      <category>ecommerce</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
