feat: residue and a solid background stop a ready sheet before payment
Some checks failed
Build and deploy / Validate source (push) Successful in 6s
Build and deploy / Integration suite on a real stack (push) Failing after 4m10s
Build and deploy / Secret scan and release gate (push) Successful in 6s
Build and deploy / Publish images (push) Has been skipped

Dropstar's items 2 and 3 (2026-10-21): both were warnings the customer
could pay past; now one dot is enough to stop the order.

- every pixel is read (images in strips at 1:1, large PNGs while they
  stream, PDFs rendered in strips at about 0,2 mm): the old check shrank
  the image first and could miss a small dot, or sampled every n-th pixel
- a residue is ink under 2 mm on both sides, measured from where the ink
  starts and ends in each cell: the same dot gets the same verdict wherever
  it falls on the grid, from 0,5 to 4 mm (his acceptance test)
- a solid background is under 1,5 % of transparent pixels; a JPG sheet
  always has one
- the sheet says how many dots there are, circles them on the preview, and
  asks to erase them and send again; the order waits for the check to end
- the page no longer offers JPG for a ready sheet

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-22 16:37:46 -03:00
parent fe7bf4ef07
commit e3c31e43e5
8 changed files with 258 additions and 71 deletions

View File

@@ -349,7 +349,11 @@ two orders spent in Imprimindo together counts once; a stage's median is per
order, the sum of its passages. Layout version 3 (web/site-packing.js): rows
with exact sizes, 5 mm margins top and bottom and between rows, and across
the width 5 mm or the space left shared out equally (1,5 mm at least); the
shape packing is used only when it saves 1 cm or more. Waiting on
shape packing is used only when it saves 1 cm or more. A ready sheet with a
residue (ink under 2 mm on both sides, measured in pixels from the ink map in
web/site-sheet.js) or without transparency (under 1,5 % of transparent
pixels; every JPG) cannot be paid for; the preview circles each dot. PDFs
over 150 MB and CDR/AI/PSD/TIFF are not checked. Waiting on
Dropstar: the Tiny category/seller/tag conflict, residue and opaque background
blocking, the print-file footer, the packing margins, the DTF terms, the
manual-file value, the proof print, and mirroring.