<?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>PromptZone - AI Prompts, Guides and Tools for Builders: neo xia</title>
    <description>The latest articles on PromptZone - AI Prompts, Guides and Tools for Builders by neo xia (@neo_xia_3f4c019330af5fb9d).</description>
    <link>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d</link>
    <image>
      <url>https://promptzone-community.s3.amazonaws.com/uploads/user/profile_image/39957/58f4ee84-7f9d-4b5b-9938-be8a065fcd47.png</url>
      <title>PromptZone - AI Prompts, Guides and Tools for Builders: neo xia</title>
      <link>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.promptzone.com/feed/neo_xia_3f4c019330af5fb9d"/>
    <language>en</language>
    <item>
      <title>The prompt that gets a coding agent to write a pixel-level QA script</title>
      <dc:creator>neo xia</dc:creator>
      <pubDate>Tue, 01 Dec 2026 15:34:20 +0000</pubDate>
      <link>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/the-prompt-that-gets-a-coding-agent-to-write-a-pixel-level-qa-script-2ak2</link>
      <guid>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/the-prompt-that-gets-a-coding-agent-to-write-a-pixel-level-qa-script-2ak2</guid>
      <description>&lt;p&gt;Most "AI wrote my tool" posts show the happy path. This one shows the prompt, the script a coding agent produced from it, and the two things the first version got wrong — because the failures are the reusable part.&lt;/p&gt;

&lt;h2 id="the-task"&gt;
  
  
  The task
&lt;/h2&gt;

&lt;p&gt;I had a folder of background-removed product PNGs and no reliable way to tell which ones would look bad outside a white page. I wanted a script that reports four numbers per image:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;how many edge-band pixels exist (0 &amp;lt; alpha &amp;lt; 250);&lt;/li&gt;
&lt;li&gt;the mean and max colour delta between a white composite and a near-black composite;&lt;/li&gt;
&lt;li&gt;the share of edge pixels that read light on white;&lt;/li&gt;
&lt;li&gt;the count of non-opaque pixels enclosed by the subject (holes).&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id="the-prompt"&gt;
  
  
  The prompt
&lt;/h2&gt;

&lt;p&gt;Five constraint lines did the work. Everything else was context.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Write a single-file Python script using only Pillow and the standard library.
Input: a folder of RGBA PNGs. Output: one CSV row per image.
Constraints:
1. Composite each image over white (255) and over (16,16,16). Report mean and max
   per-channel delta for pixels with 0 &amp;lt; alpha &amp;lt; 250 only.
2. "Enclosed" means a non-opaque pixel not reachable from the border through
   4-connected non-opaque pixels. Use an explicit flood fill, not PIL heuristics.
3. Do not downscale, do not convert colour spaces, do not auto-correct.
4. If an image has no pixels with 0 &amp;lt; alpha &amp;lt; 250, write zeros, not NaN.
5. Print progress to stderr only; stdout is the CSV.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Why each line matters: (1) fixes the measurement band, (2) prevents the classic wrong answer — &lt;code&gt;getbbox()&lt;/code&gt; on the alpha channel does not find holes, (3) removes the "helpful" preprocessing that changes the numbers, (4) avoids a crash on hard-matted images, (5) keeps the output pipeable.&lt;/p&gt;

&lt;h2 id="what-the-agent-got-wrong"&gt;
  
  
  What the agent got wrong
&lt;/h2&gt;

&lt;p&gt;The first draft used &lt;code&gt;alpha &amp;lt; 255&lt;/code&gt; as the edge band. That includes fully transparent background pixels, which are identical in both composites and inflate the pixel count by two orders of magnitude. The number looked plausible and meant nothing.&lt;/p&gt;

&lt;p&gt;The second draft computed "enclosed" by checking whether a non-opaque pixel had opaque neighbours on all four sides. That finds one-pixel pinholes, not the 30×40 region punched through a subject's interior. The constraint had to be restated as an explicit border flood fill before the answer was right.&lt;/p&gt;

&lt;p&gt;Both failures are the same shape: the agent optimized for a short script, and the shortest script was wrong in a way that produced clean-looking output.&lt;/p&gt;

&lt;h2 id="the-corrected-core"&gt;
  
  
  The corrected core
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="n"&gt;collections&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="n"&gt;deque&lt;/span&gt;
&lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="no"&gt;PIL&lt;/span&gt; &lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="nc"&gt;Image&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;audit&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;dark&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;img&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Image&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nb"&gt;open&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;convert&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"RGBA"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;img&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;size&lt;/span&gt;
    &lt;span class="n"&gt;px&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;img&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;load&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;band&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;total&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;
    &lt;span class="n"&gt;peak&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;0.0&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;g&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;px&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;250&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="n"&gt;band&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;
                &lt;span class="n"&gt;aw&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mf"&gt;255.0&lt;/span&gt;
                &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;enumerate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;g&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                    &lt;span class="n"&gt;on_w&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;aw&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mi"&gt;255&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;aw&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
                    &lt;span class="n"&gt;on_d&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;c&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;aw&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;dark&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;i&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;aw&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
                    &lt;span class="n"&gt;d&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;abs&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;on_w&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="n"&gt;on_d&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
                    &lt;span class="n"&gt;total&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;
                    &lt;span class="n"&gt;peak&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;peak&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;outside&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;bytearray&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;q&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;deque&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;px&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;250&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;outside&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="n"&gt;outside&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;q&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;px&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;250&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;outside&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="n"&gt;outside&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;q&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;while&lt;/span&gt; &lt;span class="n"&gt;q&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
        &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;q&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;popleft&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;nx&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ny&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="o"&gt;+&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
            &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="n"&gt;nx&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;=&lt;/span&gt; &lt;span class="n"&gt;ny&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;outside&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;ny&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;nx&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="n"&gt;px&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;nx&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ny&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;250&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
                &lt;span class="n"&gt;outside&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;ny&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;nx&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="n"&gt;q&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;append&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;nx&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ny&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;holes&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;sum&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nb"&gt;range&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;w&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
                &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;px&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt; &lt;span class="mi"&gt;250&lt;/span&gt; &lt;span class="ow"&gt;and&lt;/span&gt; &lt;span class="ow"&gt;not&lt;/span&gt; &lt;span class="n"&gt;outside&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;w&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;band&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;total&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="nb"&gt;max&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;band&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;peak&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;holes&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On a synthetic 600×600 test image with a 1.5px feather, this reported 4,000+ band pixels, a mean delta of about 15/255, and zero holes. Punching a 40×30 transparent rectangle through the subject moved the hole count to the expected 1,200 pixels — the check that the earlier &lt;code&gt;getbbox()&lt;/code&gt; version silently missed.&lt;/p&gt;

&lt;h2 id="what-to-reuse"&gt;
  
  
  What to reuse
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Put the measurement band in the prompt, not in a follow-up. Agents default to &lt;code&gt;alpha &amp;lt; 255&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Define geometric predicates operationally ("reachable from the border by 4-connected non-opaque pixels"), not by intent ("holes").&lt;/li&gt;
&lt;li&gt;Ask for zeros instead of NaN on empty inputs, and CSV on stdout. Small constraints, big reduction in post-processing.&lt;/li&gt;
&lt;li&gt;Verify the script on a synthetic image with a known defect before trusting it on real files.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The prompt is portable: swap the four metrics and the same five lines work for any per-pixel audit.&lt;/p&gt;




&lt;p&gt;I used this audit while building &lt;a href="https://cleanwhitebg.com" rel="nofollow ugc noopener noreferrer"&gt;CleanWhiteBG&lt;/a&gt;, a background remover for product photos.&lt;/p&gt;

</description>
      <category>ai</category>
    </item>
    <item>
      <title>FreeClipping: turn long recordings into captioned vertical clips</title>
      <dc:creator>neo xia</dc:creator>
      <pubDate>Tue, 24 Nov 2026 21:33:58 +0000</pubDate>
      <link>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/freeclipping-turn-long-recordings-into-captioned-vertical-clips-467j</link>
      <guid>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/freeclipping-turn-long-recordings-into-captioned-vertical-clips-467j</guid>
      <description>&lt;p&gt;&lt;strong&gt;FreeClipping&lt;/strong&gt; (&lt;a href="https://freeclipping.ai/" rel="nofollow ugc noopener noreferrer"&gt;https://freeclipping.ai/&lt;/a&gt;) turns long recordings into captioned social clips.&lt;/p&gt;

&lt;p&gt;Paste a YouTube link or upload a video/audio file (MP4, MOV, WebM, MP3, M4A, WAV, OGG up to 500 MB), pick a caption style (bold or minimal), and FreeClipping transcribes the speech, selects complete non-overlapping highlights, and renders 3-5 vertical 9:16 MP4 clips with burned-in captions - ready for YouTube Shorts, TikTok and Instagram Reels.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;First recording free up to 10 minutes, no sign-in or card needed&lt;/li&gt;
&lt;li&gt;Later Free tasks: 20 source minutes per calendar month per verified account (720p watermarked exports)&lt;/li&gt;
&lt;li&gt;Starter $9/mo for 150 source minutes; Pro $19/mo for 500 minutes with 1080p exports without a watermark&lt;/li&gt;
&lt;li&gt;A fixed job link lets you return to the results and download individual clips; sources and cached transcripts expire after seven days, generated clips after thirty&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It works best with clear English speech. Worth a try if you repurpose podcasts, webinars or tutorials into short-form content.&lt;/p&gt;

</description>
      <category>news</category>
      <category>ai</category>
    </item>
    <item>
      <title>Batch background removal: four checks that catch bad cut-outs before your catalogue does</title>
      <dc:creator>neo xia</dc:creator>
      <pubDate>Mon, 23 Nov 2026 15:24:16 +0000</pubDate>
      <link>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/batch-background-removal-four-checks-that-catch-bad-cut-outs-before-your-catalogue-does-54ob</link>
      <guid>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/batch-background-removal-four-checks-that-catch-bad-cut-outs-before-your-catalogue-does-54ob</guid>
      <description>&lt;p&gt;Most background-removal demos show one hero image. Real catalogue work is 200 to 2,000 SKUs a night, and the question shifts from "does this look good" to "which of these is wrong, and how would I know".&lt;/p&gt;

&lt;p&gt;A matting model that is 95% right per image is not 95% right per batch: at 500 images you are shipping roughly 25 bad ones. So the useful question is not model quality, it is what your pipeline does with the bad ones.&lt;/p&gt;

&lt;p&gt;Four checks that cost almost nothing and catch most of it:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Alpha bounding box sanity.&lt;/strong&gt; After the cut-out, measure the opaque region. A product that suddenly fills 12% of the frame, or 99% of it, is usually a failed mask or a shadow left behind, not a framing decision. Compare the box with the same SKU's previous version, or with the median of the batch.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Edge colour bleed at 1:1.&lt;/strong&gt; Look at the boundary at 200% before you trust a thumbnail. Sampling the wrong RGB under semi-transparent alpha is what produces the halo you only notice later on a dark marketplace background.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Interior holes.&lt;/strong&gt; Logos with interior white, grilles, handles: mask models sometimes punch holes in them. Count transparent pixels enclosed by opaque ones and flag anything above a threshold for review instead of shipping it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Shadow policy consistency.&lt;/strong&gt; Keeping contact shadows is fine. Deciding per SKU is not. If half the batch keeps a shadow and half does not, the category page looks like two different shops.&lt;/p&gt;

&lt;p&gt;What to do with the flagged ones: re-running the same model is usually pointless. A second pass with a different seed or a trimap refinement helps more, and a human queue of 20 images is far cheaper than a returned order.&lt;/p&gt;

&lt;p&gt;The pleasant surprise is that the queue shrinks fast. Failures cluster by material, clear plastic, matte black, fur, wire, and once you special-case those the automated pass rate stops being the story.&lt;/p&gt;

&lt;p&gt;One rule worth testing any pipeline against: same photo in, pure white out, geometry unchanged. &lt;a href="https://cleanwhitebg.com" rel="nofollow ugc noopener noreferrer"&gt;https://cleanwhitebg.com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
    </item>
    <item>
      <title>cosskill update: a library of 56 copy-ready message scripts for difficult conversations</title>
      <dc:creator>neo xia</dc:creator>
      <pubDate>Wed, 18 Nov 2026 17:19:07 +0000</pubDate>
      <link>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/cosskill-update-a-library-of-56-copy-ready-message-scripts-for-difficult-conversations-22bn</link>
      <guid>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/cosskill-update-a-library-of-56-copy-ready-message-scripts-for-difficult-conversations-22bn</guid>
      <description>&lt;p&gt;cosskill now ships a library of 56 copy-ready message scripts for the conversations people avoid - difficult breakups included.&lt;/p&gt;

&lt;p&gt;Each script is a real line you can send, embedded as a one-click copy card inside a full guide on saying the hard thing: what to send, when to send it, and what to write afterward.&lt;/p&gt;

&lt;p&gt;Browse the whole library here: &lt;a href="https://cosskill.com/guides/breakup-text-examples" rel="nofollow ugc noopener noreferrer"&gt;https://cosskill.com/guides/breakup-text-examples&lt;/a&gt;&lt;/p&gt;

</description>
      <category>news</category>
      <category>ai</category>
    </item>
    <item>
      <title>When a transparent PNG is the wrong answer for a marketplace listing</title>
      <dc:creator>neo xia</dc:creator>
      <pubDate>Mon, 16 Nov 2026 15:24:18 +0000</pubDate>
      <link>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/when-a-transparent-png-is-the-wrong-answer-for-a-marketplace-listing-1o97</link>
      <guid>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/when-a-transparent-png-is-the-wrong-answer-for-a-marketplace-listing-1o97</guid>
      <description>&lt;p&gt;Every background-removal tutorial ends with a transparent PNG. For a marketplace listing that is often the wrong file.&lt;/p&gt;

&lt;p&gt;Here is the decision I use, and why.&lt;/p&gt;

&lt;h2 id="white-fill-vs-alpha-channel"&gt;
  
  
  White fill vs alpha channel
&lt;/h2&gt;

&lt;p&gt;A white-fill export bakes the background into the image. Every viewer, app, and marketplace grid renders the same thing, because there is no alpha channel left to misinterpret. A transparent PNG carries an alpha channel and asks every downstream system to composite it against something. Most do it correctly. Some do not.&lt;/p&gt;

&lt;p&gt;The failures I see with alpha files:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Thumbnail pipelines that flatten transparency onto black. Dark edges, halo, and a product that suddenly looks metallic.&lt;/li&gt;
&lt;li&gt;CDN converters that strip the alpha channel and leave a black or checkered fill.&lt;/li&gt;
&lt;li&gt;Marketplace upload forms that silently convert PNG to JPG and pick white by default, which usually works, but sometimes picks a slightly off-white that no longer matches the listing checklist.&lt;/li&gt;
&lt;li&gt;Print-on-demand and drop-ship previews that composite onto a grey canvas so the buyer can see the edge.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id="when-alpha-is-genuinely-right"&gt;
  
  
  When alpha is genuinely right
&lt;/h2&gt;

&lt;p&gt;Use a transparent PNG when the file is not the final listing image:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Design work where the cutout gets composited over another backdrop.&lt;/li&gt;
&lt;li&gt;Ad creative where the product sits on a coloured panel.&lt;/li&gt;
&lt;li&gt;Internal asset libraries that feed several channels.&lt;/li&gt;
&lt;li&gt;Cases where a real drop shadow is added downstream.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Use a white-fill JPG when the file is the final listing image: you remove one conversion step from the pipeline and you control exactly which white the buyer sees.&lt;/p&gt;

&lt;h2 id="the-check-that-settles-it"&gt;
  
  
  The check that settles it
&lt;/h2&gt;

&lt;p&gt;Open the exported file in a viewer that shows transparency as a checkerboard, then open it in a plain browser tab. If the two look different, or if the browser tab shows a dark edge, the alpha file is going to be flattened unpredictably somewhere in the chain. Export the white fill and compare again.&lt;/p&gt;

&lt;h2 id="what-i-build"&gt;
  
  
  What I build
&lt;/h2&gt;

&lt;p&gt;I build CleanWhiteBG (&lt;a href="https://cleanwhitebg.com" rel="nofollow ugc noopener noreferrer"&gt;https://cleanwhitebg.com&lt;/a&gt;), a background tool that outputs a white JPG by default and a transparent PNG on demand, so both files come from the same cutout. Free previews up to 480px need no account, and uploads are deleted about two hours after processing.&lt;/p&gt;

</description>
      <category>ai</category>
    </item>
    <item>
      <title>cosskill update: persona pages now teach with guided practice examples</title>
      <dc:creator>neo xia</dc:creator>
      <pubDate>Sun, 08 Nov 2026 17:28:21 +0000</pubDate>
      <link>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/cosskill-update-persona-pages-now-teach-with-guided-practice-examples-1dmh</link>
      <guid>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/cosskill-update-persona-pages-now-teach-with-guided-practice-examples-1dmh</guid>
      <description>&lt;p&gt;Another cosskill update shipped this week: persona pages now include an illustrative practice example — a short guided scenario you can study before you start the conversation.&lt;/p&gt;

&lt;p&gt;Each example walks the full arc: an opening draft, the persona's challenge to it, a revised version, and the takeaway it teaches. Two are live now: &lt;a href="https://cosskill.com/persona/ex" rel="nofollow ugc noopener noreferrer"&gt;https://cosskill.com/persona/ex&lt;/a&gt; and &lt;a href="https://cosskill.com/persona/ferguson" rel="nofollow ugc noopener noreferrer"&gt;https://cosskill.com/persona/ferguson&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Everything else is unchanged: 5 messages a day free without an account, 10 a day after signing in, and Pro at $12.90/mo or $129/yr for unlimited practice.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>news</category>
    </item>
    <item>
      <title>Batch white-background product photos: a 50-SKU workflow that stays consistent</title>
      <dc:creator>neo xia</dc:creator>
      <pubDate>Tue, 03 Nov 2026 15:28:34 +0000</pubDate>
      <link>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/batch-white-background-product-photos-a-50-sku-workflow-that-stays-consistent-3c8</link>
      <guid>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/batch-white-background-product-photos-a-50-sku-workflow-that-stays-consistent-3c8</guid>
      <description>&lt;p&gt;Most stores do not fail at one cutout. They fail at two hundred.&lt;/p&gt;

&lt;p&gt;A single packshot is a judgement call: you look at the edge, you nudge the mask, you eyeball the shadow. A catalogue is a process problem, and the mistakes are different ones: three different whites in one grid, half the SKUs at 1500px and half at 4000px, one product with a soft shadow and its neighbour with none.&lt;/p&gt;

&lt;p&gt;This is the order I run when the queue is a folder of mixed supplier images instead of a single photo.&lt;/p&gt;

&lt;h2 id="1-normalise-the-input-first"&gt;
  
  
  1. Normalise the input first
&lt;/h2&gt;

&lt;p&gt;Sort the folder before touching any background. Check the format (JPG, PNG and WebP all behave differently around soft alpha edges), delete duplicates and thumbnails, and decide one target size for the whole batch. Doing this after the cutouts means re-exporting everything.&lt;/p&gt;

&lt;h2 id="2-write-the-white-down"&gt;
  
  
  2. Write the white down
&lt;/h2&gt;

&lt;p&gt;Pick the value once and keep it: #FFFFFF, exported as JPG for white backgrounds and PNG when the item needs transparency. Do not judge white on screen at 100% — JPEG compression pulls near-white areas to 254 or 253 and a "perfect" background starts to look faintly grey next to a neighbouring tile. A contact sheet at 4-up is the honest test, not a zoomed-in single image.&lt;/p&gt;

&lt;h2 id="3-split-the-batch-into-easy-and-hard"&gt;
  
  
  3. Split the batch into easy and hard
&lt;/h2&gt;

&lt;p&gt;Easy: opaque packaging, boxes, mugs, tools, anything with a clean silhouette.&lt;/p&gt;

&lt;p&gt;Hard: glass, hair and fur, jewellery, mesh, white product on a white background, reflective metal. These need a mask decision rather than a fill, and they should never share a run with the easy pile, because the settings that clear a box edge will chew a glass rim.&lt;/p&gt;

&lt;h2 id="4-batch-the-easy-pile-with-fixed-settings"&gt;
  
  
  4. Batch the easy pile with fixed settings
&lt;/h2&gt;

&lt;p&gt;Run the easy items in one pass with the same settings so the grid stays consistent. A folder can be uploaded as a ZIP and exported the same way — 50 images per run in the standard mode, 20 per run in the higher-resolution mode. Keep the two modes separate: mixing them is the fastest way to end up with two size classes in one catalogue row.&lt;/p&gt;

&lt;h2 id="5-handle-the-hard-pile-one-at-a-time"&gt;
  
  
  5. Handle the hard pile one at a time
&lt;/h2&gt;

&lt;p&gt;Give the awkward six or eight images their own session. For each one, check the two places cutouts usually fail: the contact edge (does the item sit, or float?) and the interior holes (handles, between chair legs, inside a glass). Fixing them individually takes minutes; fixing them inside a 50-item export takes an afternoon.&lt;/p&gt;

&lt;h2 id="6-verify-as-a-grid-not-as-files"&gt;
  
  
  6. Verify as a grid, not as files
&lt;/h2&gt;

&lt;p&gt;Open the results as a contact sheet and scan for the three failures a single image never reveals: a different white, a different crop, a different shadow policy. Then spot-check two edges per row at 200%. If the sheet is consistent, the catalogue is consistent.&lt;/p&gt;

&lt;h2 id="7-name-and-export-with-one-convention"&gt;
  
  
  7. Name and export with one convention
&lt;/h2&gt;

&lt;p&gt;One suffix, one folder structure, one format per use: white JPGs for marketplace listings, transparent PNGs for the design team. Consistent naming is what lets you re-run a single SKU six months later without guessing what was done to it.&lt;/p&gt;

&lt;h2 id="8-plan-around-the-boring-constraints"&gt;
  
  
  8. Plan around the boring constraints
&lt;/h2&gt;

&lt;p&gt;Results on a web tool are usually temporary — on the one linked below, uploads and results are cleaned up after about two hours, so download before lunch rather than after. Longest edge is capped per mode (1280px standard, 2048px quality), which is fine for marketplace listings and not fine for print. Decide that before the batch, not after.&lt;/p&gt;




&lt;p&gt;The short version: the white is a number, the batch is a process, and the hard images get their own session. Everything else is naming discipline.&lt;/p&gt;

&lt;p&gt;I am the developer of the tool linked here (&lt;a href="https://cleanwhitebg.com" rel="nofollow ugc noopener noreferrer"&gt;https://cleanwhitebg.com&lt;/a&gt;) and this post is written from that work — free previews, no signup, batch upload by ZIP up to 50 images.&lt;/p&gt;

</description>
      <category>photography</category>
    </item>
    <item>
      <title>cosskill update: the homepage now opens straight into a hard conversation</title>
      <dc:creator>neo xia</dc:creator>
      <pubDate>Sat, 31 Oct 2026 17:27:24 +0000</pubDate>
      <link>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/cosskill-update-the-homepage-now-opens-straight-into-a-hard-conversation-2b64</link>
      <guid>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/cosskill-update-the-homepage-now-opens-straight-into-a-hard-conversation-2b64</guid>
      <description>&lt;p&gt;Another cosskill update shipped this week: the homepage now opens straight into a hard conversation. The hero's Try It Now button starts a chat with the ex-partner persona by default — no picking from a menu first.&lt;/p&gt;

&lt;p&gt;The reasoning: the conversation you keep postponing is usually the one worth rehearsing, so the front door now leads directly into it. If you need to practice something else — a salary negotiation, performance feedback, saying no — every other persona and scenario guide is one click away.&lt;/p&gt;

&lt;p&gt;Everything else stands: the free tier gives 5 messages a day without an account and 10 a day once signed in (daily reset, no credit card); Pro is $12.90/month or $129/year for unlimited practice. The interface ships in English and Chinese, and the Chinese homepage opens into the same persona.&lt;/p&gt;

&lt;p&gt;Try it at &lt;a href="https://cosskill.com" rel="nofollow ugc noopener noreferrer"&gt;https://cosskill.com&lt;/a&gt; — a conversation is already open when you arrive.&lt;/p&gt;

</description>
      <category>news</category>
      <category>ai</category>
    </item>
    <item>
      <title>Six product types where AI background removal still needs a human check</title>
      <dc:creator>neo xia</dc:creator>
      <pubDate>Fri, 30 Oct 2026 15:38:11 +0000</pubDate>
      <link>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/six-product-types-where-ai-background-removal-still-needs-a-human-check-20ha</link>
      <guid>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/six-product-types-where-ai-background-removal-still-needs-a-human-check-20ha</guid>
      <description>&lt;p&gt;Most cutout tools do the same thing: they predict one mask and paint white behind it. On a clean shoe or a mug that is already close to correct. On the six product types below the mask has to answer a question the model cannot answer for you, and that is why a 98% accurate cutout can still fail a marketplace review.&lt;/p&gt;

&lt;h2 id="1-glass-and-transparent-packaging"&gt;
  
  
  1. Glass and transparent packaging
&lt;/h2&gt;

&lt;p&gt;Bottles, jars, and blister packs have two edges: the outline and the light passing through the material. A mask keeps the outline and throws away the transmission, so the object reads as a flat sticker. Nothing inside a cutout tool can rebuild what was behind the glass, so these need a deliberate decision — either keep a small refracted strip of the original, or accept a stylised shape and say so in the listing.&lt;/p&gt;

&lt;h2 id="2-hair-fur-and-fringed-textiles"&gt;
  
  
  2. Hair, fur, and fringed textiles
&lt;/h2&gt;

&lt;p&gt;This is where edge resolution matters more than the model. A single-pixel error is invisible on a bottle and obvious on a fur collar, because the fringe is the shape. Judge these at 200% on a dark background: halos that are invisible on white show up immediately there.&lt;/p&gt;

&lt;h2 id="3-reflective-metal-and-glossy-ceramics"&gt;
  
  
  3. Reflective metal and glossy ceramics
&lt;/h2&gt;

&lt;p&gt;A chrome kettle or a glazed bowl carries the background in its reflections. Replace the background and those reflections become a photograph of the old room. If the reflections already contain the studio, the honest fix is a reshoot; if they contain a grey sweep, matching the new white to the reflected white is enough.&lt;/p&gt;

&lt;h2 id="4-mesh-lace-and-netting"&gt;
  
  
  4. Mesh, lace, and netting
&lt;/h2&gt;

&lt;p&gt;The holes are product, not background. Coarse mesh survives a mask reasonably well; fine netting usually turns into a blur, and the transparent pixels inside the weave get filled with white, which changes the product's apparent density. Check a zoomed crop, not the thumbnail.&lt;/p&gt;

&lt;h2 id="5-thin-straps-wire-handles-and-loose-threads"&gt;
  
  
  5. Thin straps, wire handles, and loose threads
&lt;/h2&gt;

&lt;p&gt;Every one of them is one or two pixels wide at catalogue size. A morphological cleanup pass — the kind that removes stray specks — will also remove a strap. Compare the result against the original at full size before you trust the preview.&lt;/p&gt;

&lt;h2 id="6-white-and-nearwhite-products"&gt;
  
  
  6. White and near-white products
&lt;/h2&gt;

&lt;p&gt;A white candle on a white background loses its silhouette. The cutout can be perfect and the listing still unreadable. Keep the natural contact shadow, or add a one-pixel inset border, so the object's outline survives.&lt;/p&gt;

&lt;h2 id="what-actually-helps"&gt;
  
  
  What actually helps
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;mode        what it does                              when to use it
Standard    single-pass mask, fast                   clean edges, solid objects
Quality     generative pass, up to 2048px             overlaid text, matted texture
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Quality mode is the one that can remove printed text or a watermark that bleeds into the object, and it is also the one that can quietly repaint a label. Treat every Quality result as a new photograph: put it beside the original and check the label, the colour block, and any printed measurement before publishing.&lt;/p&gt;

&lt;h2 id="a-fiveminute-check-before-you-publish"&gt;
  
  
  A five-minute check before you publish
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Sample the background at five points — corners, mid-edges, centre. Every one should read the same value.&lt;/li&gt;
&lt;li&gt;View the edge at 200% on a dark background, then at 100% on white.&lt;/li&gt;
&lt;li&gt;Compare the object's colour against the original on a calibrated screen, not the preview thumbnail.&lt;/li&gt;
&lt;li&gt;Check the silhouette: straps, handles, threads, and any part thinner than the eyelash rule.&lt;/li&gt;
&lt;li&gt;Confirm the file is the size and format the marketplace asks for — transparent PNG where the background should not be white.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The tool I use for this is a browser-based cutout that takes JPG, PNG or WebP up to 10MB, offers a Standard and a Quality mode, and can output transparent PNG; previews are free and uploads are deleted within two hours. Whatever you use, the lesson is the same: the cutout is a proposal, and the six categories above are where you have to accept or reject it.&lt;/p&gt;




&lt;p&gt;I am the developer of CleanWhiteBG (&lt;a href="https://cleanwhitebg.com" rel="nofollow ugc noopener noreferrer"&gt;https://cleanwhitebg.com&lt;/a&gt;), the tool linked above, and this post is written from that work.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>cosskill update: practice with images — chat now accepts image attachments</title>
      <dc:creator>neo xia</dc:creator>
      <pubDate>Sat, 24 Oct 2026 18:02:43 +0000</pubDate>
      <link>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/cosskill-update-practice-with-images-chat-now-accepts-image-attachments-5gbk</link>
      <guid>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/cosskill-update-practice-with-images-chat-now-accepts-image-attachments-5gbk</guid>
      <description>&lt;p&gt;Another cosskill update shipped this week: you can now attach images to a practice conversation.&lt;/p&gt;

&lt;p&gt;Upload a screenshot of the email, offer, listing or chat you are nervous about, and the persona reads it with vision and responds in context — rehearse a salary negotiation against the real offer, or a review response against the actual feedback text. Images are stored 30 days and can be deleted any time.&lt;/p&gt;

&lt;p&gt;Everything else stands: the free tier gives 5 messages a day without an account and 10 a day once signed in (daily reset, no credit card); every persona and scenario guide is on the free tier; Pro is $12.90/month or $129/year for unlimited practice. The interface ships in English and Chinese.&lt;/p&gt;

&lt;p&gt;Try it at &lt;a href="https://cosskill.com" rel="nofollow ugc noopener noreferrer"&gt;https://cosskill.com&lt;/a&gt; — pick a persona, attach the thing you are nervous about, and rehearse it before it happens.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>news</category>
    </item>
    <item>
      <title>White background product photos with AI: a checklist for edges, glass, and shadows</title>
      <dc:creator>neo xia</dc:creator>
      <pubDate>Fri, 23 Oct 2026 15:33:25 +0000</pubDate>
      <link>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/white-background-product-photos-with-ai-a-checklist-for-edges-glass-and-shadows-5dp6</link>
      <guid>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/white-background-product-photos-with-ai-a-checklist-for-edges-glass-and-shadows-5dp6</guid>
      <description>&lt;p&gt;Marketplace rejections for product photos usually come from three things: a background that is not pure white, an edge that looks cut out, and a shadow that reads as a smudge. If you process photos in batches, those failures repeat across the whole catalogue. This is the checklist I run before shipping a batch.&lt;/p&gt;

&lt;h2 id="1-measure-the-white-instead-of-eyeballing-it"&gt;
  
  
  1. Measure the white instead of eyeballing it
&lt;/h2&gt;

&lt;p&gt;Sample the corners in an image editor. Most catalogs ask for pure white, which is #FFFFFF in RGB. JPEG compression pulls corners down to 254 or 253, so check after export, not before. A pixel picker on the exported file catches this in seconds.&lt;/p&gt;

&lt;h2 id="2-judge-the-edge-at-200"&gt;
  
  
  2. Judge the edge at 200%
&lt;/h2&gt;

&lt;p&gt;Zoom to 200% and look at three places: hair or fur, the boundary between product and background, and anything thin such as straps, stems, or wires. At 100% a broken matte is invisible; at 200% it is obvious. A small preview hides exactly the errors a reviewer sees first.&lt;/p&gt;

&lt;h2 id="3-transparent-and-reflective-objects-need-a-mask-not-a-fill"&gt;
  
  
  3. Transparent and reflective objects need a mask, not a fill
&lt;/h2&gt;

&lt;p&gt;Glass, clear plastic, and chrome have no true edge. Filling them with white destroys the object. The mask has to keep partial alpha across the whole object, otherwise a bottle turns into a white silhouette with a label floating on it. The test shot that exposes a weak matte is a bottle photographed on a busy background.&lt;/p&gt;

&lt;h2 id="4-decide-the-shadow-policy-before-the-batch"&gt;
  
  
  4. Decide the shadow policy before the batch
&lt;/h2&gt;

&lt;p&gt;There are three defensible choices: remove the shadow entirely for a clean catalog look, keep a natural contact shadow that matches a white set, or keep the original floor shadow and accept the floor tone. The real mistake is mixing policies inside one batch. Every photo can be fine on its own and the grid still looks inconsistent.&lt;/p&gt;

&lt;h2 id="5-keep-the-batch-consistent"&gt;
  
  
  5. Keep the batch consistent
&lt;/h2&gt;

&lt;p&gt;Export at one size, one color profile, and one background value. If half the batch is 1200 px and the other half is 2000 px, the category page crops them differently and the tiles stop lining up.&lt;/p&gt;

&lt;h2 id="6-check-the-cheap-things-last"&gt;
  
  
  6. Check the cheap things last
&lt;/h2&gt;

&lt;p&gt;File size limits, aspect ratio, and which image is in the first slot. These are the ones that get a listing rejected minutes after upload.&lt;/p&gt;

&lt;h2 id="a-workflow-note"&gt;
  
  
  A workflow note
&lt;/h2&gt;

&lt;p&gt;I build CleanWhiteBG (&lt;a href="https://cleanwhitebg.com" rel="nofollow ugc noopener noreferrer"&gt;https://cleanwhitebg.com&lt;/a&gt;), a browser tool for white background product photos. There is no signup, it is free to use, and uploads are deleted automatically after two hours. It has a faster cloud mode and a slower precision mode for hair, fur, glass, and jewelry. The checklist above is what decides whether a batch passes review, whichever tool produces the matte.&lt;/p&gt;

&lt;p&gt;Disclosure: I am the developer of the tool linked above, and this post is written from that work.&lt;/p&gt;

</description>
      <category>images</category>
      <category>ai</category>
    </item>
    <item>
      <title>cosskill update: practice 5 conversations a day — no account needed</title>
      <dc:creator>neo xia</dc:creator>
      <pubDate>Sat, 17 Oct 2026 17:22:31 +0000</pubDate>
      <link>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/cosskill-update-practice-5-conversations-a-day-no-account-needed-15mb</link>
      <guid>https://www.promptzone.com/neo_xia_3f4c019330af5fb9d/cosskill-update-practice-5-conversations-a-day-no-account-needed-15mb</guid>
      <description>&lt;p&gt;cosskill is an AI communication simulator for rehearsing high-stakes conversations — salary negotiations, performance feedback, difficult personal talks — by speaking with realistic AI personas before they happen.&lt;/p&gt;

&lt;p&gt;One update shipped last week, plus a pricing correction:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Guests now get a daily quota. No account is needed to practice regularly: without signing up you can send 5 messages per day, resetting daily — the old 3-message trial cap is gone. Signing in (free) doubles it to 10 messages a day, and every persona and scenario is available on the free tier.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Pricing correction: a previous update quoted an outdated annual price. Pro is $12.90/mo, or $129/yr (regular $154.80/yr, about 17% off). Pro removes the message cap and adds custom personas and history sync across devices.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Try a rehearsal: &lt;a href="https://cosskill.com" rel="nofollow ugc noopener noreferrer"&gt;https://cosskill.com&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>news</category>
    </item>
  </channel>
</rss>
