Measurement standards: how TattooStencil defines 1-bit thresholding, 3 line weights and 1:1 millimetre PDFs
The exact pixel morphology, speckle-removal rules, A4/Letter margin geometry and 50 mm physical verification bar used by TattooStencil's print pipeline.
Published 10 ตุลาคม 2569Updated 21 พฤศจิกายน 25696 min read
Save to PinterestKey Findings
- Direct thermal stencil printers (Brother PocketJet 203/300 DPI, Phomemo M08F, thermofax carbon units) melt wax-carbon strictly as binary dots; mid-grey antialiasing haze causes blotchy background transfer and premature carbon depletion.
- TattooStencil outputs Fine, Standard (+1 px 4/8-neighborhood morphological dilation) and Bold (+2 px dilation) simultaneously at matching pixel dimensions from a single neural inference pass.
- Every true-size PDF embeds exact millimetre vector page coordinates (1 pt = 25.4 / 72 mm), 8 mm hardware-safe printable margins, 6 mm multi-sheet alignment overlaps and a 50.0 mm physical check bar.
1. Neural line extraction, de-speckling and morphological line weights
When a reference photo enters TattooStencil's pipeline, EXIF orientation is normalized, transparency is flattened onto pure white (#FFFFFF) and the long edge is scaled in multiples of 8 pixels (up to 1280 px in high-detail studio mode). Our CPU ONNX line-art network predicts structural contours while suppressing flat lighting gradients.
Raw neural probability maps still contain isolated 1-to-3 pixel sensor dust specks. Connected-component speckle filtering removes orphan blobs below threshold area before generating three deterministic weights: Fine preserves delicate inner contours, Standard dilates strokes by 1 pixel for everyday thermal transfer, and Bold dilates further for traditional punch or coarse thermofax copiers.
| Parameter | Specification | Studio Purpose |
|---|---|---|
| Library stencil colour depth | 1-bit 2-colour indexed PNG (#000000 / #FFFFFF) | Zero greyscale haze on Spirit thermal paper |
| Line weight variants per run | Fine, Standard, Bold (simultaneous) | Match single-needle vs 7RL/9RL/14RL groupings |
| Printable page margin | 8.0 mm all sides (A4 210x297 mm / Letter 215.9x279.4 mm) | Prevents roller clipping on PocketJet & laser printers |
| Sleeve tile overlap | 6.0 mm dashed crop & alignment seam | Accurate multi-sheet taping for 25-45 cm sleeves |
| Physical scale verification | 50.0 mm solid calibration bar printed on sheet 1 | Instant steel-ruler check against browser 'Fit to page' scaling |
2. Eliminating OS print-dialog scale error
The most common source of stencil sizing error in tattoo shops is macOS Preview, Chrome or iOS AirPrint defaulting to 'Scale to Fit Printable Area' (typically 94% to 96%), turning a requested 15.0 cm forearm piece into 14.1 cm without warning.
Always select 'Actual Size' or 'Scale: 100%' in your printer dialog and verify the printed 50 mm check bar with a steel ruler before applying transfer solution.
Limits of this document
- Extremely dark, motion-blurred or low-resolution (<250 px) screenshots lack true optical edge gradients; clean lighting on the reference photo always improves neural contour separation.
- Display ink colors (Spirit Violet, Crimson, Navy, custom HSV) are screen-preview layers only; downloaded stencil PNGs and PDFs remain pure black on white so thermal print heads fire cleanly.
Apply This Standard
Run the calibrated 3-weight stencil pipeline now
Upload any photo or test an instant studio sample with Retouch eraser and 50 mm calibrated PDF export.
Related Research Documents
All research papersOptical Placement Geometry · Measurement standard
Camera Distance & Limb Warp
Optical geometry standard on smartphone perspective warp, forearm twist, tattoo placement pain and aging context, and capturing accurate body photos for tattoo try-on.
Dermal Biomechanics · Evidence review
Macrophage & Line Spread
Peer-reviewed dermatology review on how tattoos age over 10 years, dermal macrophage ink turnover, fine-line spread, and photo to tattoo stencil spacing.
Pigment Photochemistry · Evidence review
UV Fading & Nanoparticles
Peer-reviewed pigment study on UV tattoo fading, nanoparticle ink size, how black vs color tattoos age over 10 years, and carbon-black outline durability.