Pair with 4K generation and local 4x upscaling
See full pixel/DPI math in Guide 09: AI Image Craft, Vector SVGs and Brand Design Systems and upscale 1MP renders locally for $0 using Skill 37: ComfyUI FLUX High-Res 4x Upscale Graph.
SKILL.md Install into .claude/skills/, .cursor/skills/, or .agents/skills/ whenever preparing AI posters, packaging dielines, flyers, or editorial zines for commercial 300 DPI print shops.
Installable SKILL.md teaching Claude Code, Cursor, and Codex to calculate exact 300 DPI print pixel targets (including 0.125-inch bleed and safe trim zones), reject under-sized 1MP AI images before press, route upscaling cleanly through 4x-UltraSharp, and stamp 300 DPI metadata with sharp.
Pick Claude Code, Cursor, or Codex below to save SKILL.md into your skills folder.
Agent computes exact Inches x 300 + 75px bleed pixel targets and checks if your AI plate meets 300 DPI.
Resizes with Lanczos-3, embeds density: 300, warns on out-of-gamut neon colors, and validates trim margins.
Pick the app you use below for the exact verified command or config—zero manual guessing.
.claude/skills/print-300dpi-bleed-export/SKILL.md for automated print-production pre-flight. mkdir -p .claude/skills/print-300dpi-bleed-export
curl -fsSL https://framesfield.com/raw/skills/print-300dpi-cmyk-bleed-export-skill -o .claude/skills/print-300dpi-bleed-export/SKILL.md .cursor/skills/ for print & packaging prep workflows. mkdir -p .cursor/skills/print-300dpi-bleed-export
curl -fsSL https://framesfield.com/raw/skills/print-300dpi-cmyk-bleed-export-skill -o .cursor/skills/print-300dpi-bleed-export/SKILL.md .agents/skills/ path readable across compatible coding agents. mkdir -p .agents/skills/print-300dpi-bleed-export
curl -fsSL https://framesfield.com/raw/skills/print-300dpi-cmyk-bleed-export-skill -o .agents/skills/print-300dpi-bleed-export/SKILL.md
This is the exact raw file served at /raw/skills/print-300dpi-cmyk-bleed-export-skill.
---
name: print-300dpi-bleed-export
description: Validate and prepare AI-generated rasters and Recraft V4.1 SVGs for commercial 300 DPI print production—computing exact pixel targets with 0.125-inch (37.5px/side) bleed margins, rejecting under-res 1MP masters, routing 4x neural upscaling when needed, and stamping 300 DPI PNG/TIFF metadata with sharp.
---
# Commercial 300 DPI Print & Bleed Pre-Flight Protocol
Whenever preparing AI artwork (FLUX 3 Image, Ideogram 4.6, Seedream 5.5, Qwen-Image 20B, Recraft V4.1) for physical printing—flyers, product packaging, posters, books, or merch—enforce these hard physical math checks before press handoff:
## 1. Exact Print Pixel & Bleed Formulas (Never Guess)
- **Trim Pixels:** `Width_in * 300` × `Height_in * 300`
- **Standard US/EU Full Bleed (`+0.125"` / `+3mm` per side = `+0.25"` total):** Add **`+75 px`** to total width and **`+75 px`** to total height (`38 px` per edge).
- **Safe Text Margin (`0.25"` inside trim):** Keep all typography, barcodes, and logos at least **`113 px`** (`38px bleed + 75px inner safe`) away from the outer bleed canvas edge.
| Print Piece | Trim Size | With 0.125" Bleed @ 300 DPI | Source Path |
| --- | --- | --- | --- |
| Business Card | 3.5 × 2.0 in | `1125 × 675 px` | Native 1–2K (FLUX 3 / Seedream 5.5) or SVG |
| Postcard | 6.0 × 4.0 in | `1875 × 1275 px` | FLUX 3 2K ($0.10) / Seedream 5.5 2K ($0.035) / Ideogram 4.6 2K |
| US Letter Flyer | 8.5 × 11.0 in | `2625 × 3375 px` | Ideogram 4.6 4K ($0.12) / FLUX 3 4K or ComfyUI 4x-UltraSharp |
| Tabloid Poster | 11.0 × 17.0 in | `3375 × 5175 px` | ComfyUI 4x-UltraSharp (`Skill 37`) or Native SVG |
## 2. Resolution Floor Gate (Reject Upscaling > 1.25x Without Neural Pass)
Read natural input pixel dimensions via `sharp(file).metadata()`.
- If `inputWidth < targetWidth * 0.85`, **STOP**—never stretch a `1024px` 1MP image `3x` with bicubic scaling. Route it through ComfyUI `4x-UltraSharp` (`Skill 37`) first, or regenerate at native 4K in `Ideogram 4.6` (`$0.12` Medium 4K / `$0.20` High 4K) or `FLUX 3 Image` 4K (`$0.607`; Klein 4K `$0.036`). Note that `Seedream 5.5` caps at 2K (`≤4.62 MP`), so upscale 2K Seedream plates via `4x-UltraSharp` before large flyer or poster runs.
- For logos, emblems, barcodes, and technical packaging diagrams, **always keep them as native vector `.svg`/PDF** (`Recraft V4.1` / Illustrator)—never rasterize vector logos into 300 DPI bitmaps.
## 3. Stamp 300 DPI Print Metadata & Lossless Export (`sharp`)
```bash
node --input-type=module -e "
import sharp from 'sharp';
await sharp('upscaled_4x.png')
.resize(2625, 3375, { fit: 'cover', kernel: sharp.kernel.lanczos3 })
.withMetadata({ density: 300 })
.tiff({ compression: 'lzw' })
.toFile('letter_flyer_300dpi_bleed.tif');
"
```
## 4. CMYK Gamut Warning
Electric sRGB neons (`#00FF88`, bright cyan, hyper-saturated magenta) shift duller when printed in CMYK offset ink. Favor natural daylight palettes and always request your print vendor's ICC CMYK profile (e.g., `GRACoL2006` or `FOGRA39`) for final PDF/X-1a pre-press conversion. "Check whether hero_plate.png (2048x2048) is sharp enough for an 11x17 poster at 300 DPI with 0.125-inch bleed, and generate a 300 DPI LZW TIFF once upscaled."
- Computes 11x17 + bleed @ 300 DPI = 3375x5175 px (17.5 MP); rejects 2048x2048 direct stretch (only 120 DPI) and routes through ComfyUI 4x-UltraSharp (Skill 37) first. - Downsamples upscaled master cleanly via Lanczos-3 to exact 3375x5175 px, stamps density: 300, and exports lossless LZW TIFF.
sharp installed4x-UltraSharp (Skill 37) when source plates fall below 85% of target print pixelsFOGRA39 / SWOP / GRACoL) during final PDF pre-pressSee full pixel/DPI math in Guide 09: AI Image Craft, Vector SVGs and Brand Design Systems and upscale 1MP renders locally for $0 using Skill 37: ComfyUI FLUX High-Res 4x Upscale Graph.